-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Systemd unit #261
Comments
AFAIK there is no "official" systemd unit file yet, we should build a good one as a community ^^ |
Somewhat more elaborate, but for the permission setup, one can also use:
This is probably more suitable for distro installs. (I do wonder why |
Hi ! @jcaesar your first proposition of a service file works properly on ubuntu 22.04.2. I just had to change paths for modprobe and the config file (which makes me think we may need per-distro service files ?). I'll give a try to what you proposed for permissions management as well. Thanks for that. I'll also work on a RPM package soon so I'll have to validate this on redhat as well. I'd love to hear your and @TheElectronWill 's thoughts about how we should organise this, maybe a contrib folder where one could propose working service file for other distributions through PRs ? |
|
Another thing to think about is testing: the packages should build properly on each platform, that's a good job for Github Actions, isn't it? |
according to Github Actions doc virtual machine images for Github-hosted runners, are limited to ubuntu as a linux ditribution. We may have to either deploy github actions self-hosted runners virtual machines with the distribution we want to support and target them in GA, or use awx and call jobs in GA to do the same (as done for the bare metal tests). |
A docker environment (on ubuntu) should work here, no need for a self-hosted runner. For example, there are github actions that build RPM packages thanks to a docker image: https://github.com/marketplace/actions/rpm-build |
Great ! I'll give it a try. Thanks ! |
Just added a packaging folder with two services files, one for ubuntu 22.04, one for redhat 9. I guess what you proposed @jcaesar is better regarding security config, but maybe we could integrate those in the process of doing the full package for a distribution ? |
Maybe. But I don't have an overview of how different distros handle adding system groups. |
Problem
I'd like to run scaphandre on some plain old bare metal servers. Is there a systemd unit file somewhere I can use?
Solution
I'd think something like this?
The text was updated successfully, but these errors were encountered: