[RPKI] [PATCH] routinator.service: restart the daemon on failure

Marco d'Itri md at linux.it
Sun Dec 29 15:15:55 UTC 2019


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
-- 
2.25.0.rc0




More information about the RPKI mailing list