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


_______________________________________________
RPKI mailing list
[email protected]
https://lists.nlnetlabs.nl/mailman/listinfo/rpki

Reply via email to