summaryrefslogtreecommitdiffstats
path: root/systemd/cynagora.service
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-10-03 17:58:02 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-10-04 16:02:32 +0200
commit9cffedba0dfcf845c34901051d24a4b967ec824d (patch)
treefb648b8c7056cd7f46e0c14589f12c5a857df150 /systemd/cynagora.service
parentb5bd40e1e68b739307e20e19d2164c5b370846df (diff)
Move to CYNAGORA
Rename everything to match the new name of cynagora Change-Id: I7e529def486ca5721164b338d2c615996fbc6ca4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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