summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-02-05 13:42:27 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-02-05 13:42:27 +0100
commit792017f816d7c4eb24277bee14605c49164af5b3 (patch)
treee557970822a6e85c2f686e9079df7240daf507bc /conf
parent1ab49d93991d4061c822cc48cf9b824754f8de8c (diff)
afm-user-daemon: restart automatically
Change-Id: Icb4b6cd1612518dcf52ece7f1c762a18b1b7e2d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf')
-rw-r--r--conf/afm-user-daemon.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/afm-user-daemon.service b/conf/afm-user-daemon.service
index 7721764..d418e8c 100644
--- a/conf/afm-user-daemon.service
+++ b/conf/afm-user-daemon.service
@@ -6,6 +6,8 @@ Type=dbus
BusName=org.AGL.afm.user
ExecStart=/usr/bin/afm-user-daemon
Environment=LD_PRELOAD=/usr/lib/libEGL.so
+Restart=on-failure
+RestartSec=5
[Install]