-
Notifications
You must be signed in to change notification settings - Fork 2
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
a simple systemd service file #2
Comments
This would send mails to [email protected] by default... :-p With execute-only you can skip the icon (-i security-high), it does not have an effect. |
Yep, my question was more like 'please provide an interesting example of a systemd service file setup'... |
Added a systemd unit file with babb114. Is that ok for you? |
Awesome ! will test soon. |
I'm thinking that the systemd unit file could be generalized by using a configuration file. To overcome distro incompatibilities the location of the configuration file in the unit file could be specified:
Then instead of
it could be
I haven't tested this yet, it's just an idea. What do you think? |
The way we went for this is to use a template unit:
And then creating an instance of the service is as simple as creating a file:
And start the service with: |
@traylenator, interesting idea... Want to create a pull request for this? I think this could be useful for others. |
The text was updated successfully, but these errors were encountered: