diff options
Diffstat (limited to 'systemd/cynagora.service.in')
-rw-r--r-- | systemd/cynagora.service.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/systemd/cynagora.service.in b/systemd/cynagora.service.in new file mode 100644 index 0000000..9035d00 --- /dev/null +++ b/systemd/cynagora.service.in @@ -0,0 +1,22 @@ +[Unit] +Description=Cynagora service +Requires=afm-system-setup.service +After=afm-system-setup.service + +[Service] +ExecStart=/usr/bin/cynagorad --user @USER@ --group @GROUP@ --make-db-dir --own-db-dir + +Type=notify + +KillMode=process +TimeoutStopSec=3 +Restart=always + +Sockets=cynagora-admin.socket +Sockets=cynagora-check.socket +Sockets=cynagora-agent.socket + +#NoNewPrivileges=true + +[Install] +WantedBy=multi-user.target |