guardian-agent icon indicating copy to clipboard operation
guardian-agent copied to clipboard

Run as a daemon?

Open tnguyen14 opened this issue 6 years ago • 1 comments

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

tnguyen14 avatar Nov 09 '17 05:11 tnguyen14

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:

yookoala avatar Jul 17 '18 09:07 yookoala