[packages/bird] Set Restart=on-failure

mmazur mmazur at pld-linux.org
Thu Feb 5 14:43:59 CET 2015


commit e520f0999e62940305be7238a9dc27fc7cc3367f
Author: Mariusz Mazur <mmazur at axeos.com>
Date:   Thu Feb 5 13:40:26 2015 +0000

    Set Restart=on-failure
    
    This daemon is usually critical. If it dies, everything else goes
    down with it. Restarting it asap is important.

 bird-ipv4.service | 1 +
 bird-ipv6.service | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/bird-ipv4.service b/bird-ipv4.service
index 0b43002..29c36a8 100644
--- a/bird-ipv4.service
+++ b/bird-ipv4.service
@@ -4,6 +4,7 @@ After=network.target
 
 [Service]
 Type=forking
+Restart=on-failure
 EnvironmentFile=/etc/sysconfig/bird-ipv4
 ExecStart=/usr/sbin/bird -u bird -g bird $BIRD_OPTS
 ExecReload=/usr/bin/kill -HUP $MAINPID
diff --git a/bird-ipv6.service b/bird-ipv6.service
index 041e08a..af4ab73 100644
--- a/bird-ipv6.service
+++ b/bird-ipv6.service
@@ -4,6 +4,7 @@ After=network.target
 
 [Service]
 Type=forking
+Restart=on-failure
 EnvironmentFile=/etc/sysconfig/bird-ipv6
 ExecStart=/usr/sbin/bird-6 -u bird -g bird $BIRD_OPTS
 ExecReload=/usr/bin/kill -HUP $MAINPID
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bird.git/commitdiff/e520f0999e62940305be7238a9dc27fc7cc3367f



More information about the pld-cvs-commit mailing list