Skip to content
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

Run as a daemon? #10

Open
tnguyen14 opened this issue Nov 9, 2017 · 1 comment
Open

Run as a daemon? #10

tnguyen14 opened this issue Nov 9, 2017 · 1 comment

Comments

@tnguyen14
Copy link

Can sga-agent be run as a daemon? Automatically started on startup? Perhaps something managed with systemd?

@yookoala
Copy link
Contributor

Any CLI process can be written into a Unit file and work as a systemd service. There is no need to make sga-guard a daemon. The trick is that you need to specify the intermediary in that command. So if you have multiple intermediary, you'd need multiple unit file. That is not very nice to use.

There are a number of references for writing unit files:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants