summaryrefslogtreecommitdiffstats
path: root/conf/system/afm-system-daemon.service.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-23 15:44:24 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:58 +0100
commit7998a472352c0272a90c66ab45c4c2758cd6040a (patch)
treede3fb484fa2bca0850354f611551b049083d1420 /conf/system/afm-system-daemon.service.in
parent633ebe33015554a14b773053188e2faba0faff04 (diff)
Rework on systemd start of user sessions
Change-Id: Iad46596435eebdc5c521b572fd8320b52a61d197 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/system/afm-system-daemon.service.in')
-rw-r--r--conf/system/afm-system-daemon.service.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf/system/afm-system-daemon.service.in b/conf/system/afm-system-daemon.service.in
new file mode 100644
index 0000000..ca4ca1d
--- /dev/null
+++ b/conf/system/afm-system-daemon.service.in
@@ -0,0 +1,15 @@
+[Unit]
+Description=Application Framework Master, system side
+
+[Service]
+#User=afm
+#Group=afm
+SyslogIdentifier=afm-system-daemon
+ExecStart=/usr/bin/afb-daemon --name=afm-system-daemon --no-httpd --no-ldpaths --binding=@CMAKE_INSTALL_FULL_LIBEXECDIR@/afm/afm-binding.so --ws-server=sd:afm-main
+Restart=on-failure
+RestartSec=5
+CapabilityBoundingSet=CAP_DAC_OVERRIDE CAP_MAC_OVERRIDE
+
+[Install]
+WantedBy=multi-user.target
+