From 279b3ba8f6ca8d13bdd7c7773001953877ebec71 Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Sun, 29 Dec 2019 16:15:55 +0100 Subject: [PATCH] routinator.service: restart the daemon on failure RestartSec was a forgotten statement used while debugging: we actually want the daemon to be restarted on failure. --- etc/routinator.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/routinator.service b/etc/routinator.service index 7bec3f9..bd77541 100644 --- a/etc/routinator.service +++ b/etc/routinator.service @@ -6,7 +6,7 @@ After=network.target [Service] ExecStart=/usr/bin/routinator --config=/etc/routinator/routinator.conf --syslog server Type=exec -RestartSec=0 +Restart=on-failure User=routinator AmbientCapabilities=CAP_NET_BIND_SERVICE CapabilityBoundingSet=CAP_NET_BIND_SERVICE