summaryrefslogtreecommitdiffstats
path: root/afs-supervisor.service.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-02-26 18:57:24 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-02-26 19:04:53 +0100
commit3e3a29fa49ec494800a4aa866d84fba4eaa8261b (patch)
treef580666e31bf07f6598bf6a31e08d91026563e66 /afs-supervisor.service.in
parentd1e30006b071533ae2d1903251962d2dec452418 (diff)
afs-supervisor: Add systemd service and config
Change-Id: I64bf8de01dbb8cf9581ed0be358d81fa84106520 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'afs-supervisor.service.in')
-rw-r--r--afs-supervisor.service.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/afs-supervisor.service.in b/afs-supervisor.service.in
new file mode 100644
index 00000000..60b2a313
--- /dev/null
+++ b/afs-supervisor.service.in
@@ -0,0 +1,9 @@
+[Unit]
+Description=Application Framework Supervisor
+
+[Service]
+ExecStart=/usr/bin/afs-supervisor --port @AFS_SUPERVISOR_PORT@ --token @AFS_SUPERVISOR_TOKEN@
+
+[Install]
+WantedBy=multi-user.target
+