summaryrefslogtreecommitdiffstats
path: root/systemd/cynagora.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/cynagora.service')
-rw-r--r--systemd/cynagora.service26
1 files changed, 26 insertions, 0 deletions
diff --git a/systemd/cynagora.service b/systemd/cynagora.service
new file mode 100644
index 0000000..97a0f36
--- /dev/null
+++ b/systemd/cynagora.service
@@ -0,0 +1,26 @@
+[Unit]
+Description=Cynagora service
+Requires=afm-system-setup.service
+After=afm-system-setup.service
+
+[Service]
+ExecStart=/usr/bin/cynagorad --systemd --user cynagora --group cynagora --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
+SmackProcessLabel=System
+
+#UMask=0000
+#User=cynagora
+#Group=cynagora
+#NoNewPrivileges=true
+
+[Install]
+WantedBy=multi-user.target