summaryrefslogtreecommitdiffstats
path: root/conf/system/afm-system-daemon.service.in
diff options
context:
space:
mode:
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
+