mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 22:57:45 +00:00
tools: Configure systemd to always restart FRR, regardless of exit code
The current service file configures restarts on-abnormal, which translates to "unclean signal", "timeout", or "watchdog". This patch updates it to always restart, as there's never really a time watchfrr should exit by itself at all. Signed-off-by: Brian Rak <brak@vultr.com>
This commit is contained in:
parent
b2328784cb
commit
d087003451
@ -15,7 +15,7 @@ StartLimitBurst=3
|
||||
TimeoutSec=@TIMEOUT_MIN@m
|
||||
WatchdogSec=60s
|
||||
RestartSec=5
|
||||
Restart=on-abnormal
|
||||
Restart=always
|
||||
LimitNOFILE=1024
|
||||
PIDFile=@CFG_STATE@/watchfrr.pid
|
||||
ExecStart=@CFG_SBIN@/frrinit.sh start
|
||||
|
@ -15,7 +15,7 @@ StartLimitBurst=3
|
||||
TimeoutSec=@TIMEOUT_MIN@m
|
||||
WatchdogSec=60s
|
||||
RestartSec=5
|
||||
Restart=on-abnormal
|
||||
Restart=always
|
||||
LimitNOFILE=1024
|
||||
PIDFile=@CFG_STATE@/%I/watchfrr.pid
|
||||
ExecStart=@CFG_SBIN@/frrinit.sh start %I
|
||||
|
Loading…
Reference in New Issue
Block a user