summaryrefslogtreecommitdiff
path: root/pcr/babeld/babeld.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/babeld/babeld.service')
-rw-r--r--pcr/babeld/babeld.service8
1 files changed, 5 insertions, 3 deletions
diff --git a/pcr/babeld/babeld.service b/pcr/babeld/babeld.service
index bad1aff93..f3c1d284c 100644
--- a/pcr/babeld/babeld.service
+++ b/pcr/babeld/babeld.service
@@ -4,9 +4,11 @@ Documentation=man:babeld(8) http://www.pps.univ-paris-diderot.fr/~jch/software/b
After=network.target
[Service]
-Type=forking
-ExecStart=/usr/bin/babeld -D
-PIDFile=/var/run/babeld.pid
+Type=simple
+# Don't write a PID file, since it prevents babeld from starting again
+# in case of crash.
+ExecStart=/usr/bin/babeld -I ''
+Restart=on-failure
[Install]
WantedBy=multi-user.target