StanfordSNR/guardian-agent

Run as a daemon?

Opened this issue · 1 comments

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

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: