vrrpd: better process management in systemd unit
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jérémy Lecour 2022-08-19 12:03:34 +02:00 committed by Jérémy Lecour
parent a1995f0e74
commit 1972826c79
1 changed files with 5 additions and 1 deletions

View File

@ -4,8 +4,12 @@ After=network.target
[Service]
ExecStart=/usr/sbin/vrrpd -i {{ vrrp_address.interface | mandatory }} -x -D -d {{ vrrp_address.delay | mandatory }} -v {{ vrrp_address.id | mandatory }} -p {{ vrrp_address.priority | mandatory }} -a {{ vrrp_address.authentication | mandatory }} -l {{ vrrp_address.label | mandatory }} {{ vrrp_address.ip | mandatory }}
# PIDFile=/var/run/vrrpd_{{ vrrp_address.label }}_{{ vrrp_address.id }}.pid
Restart=on-failure
Type=forking
IgnoreSIGPIPE=no
KillMode=process
RemainAfterExit=yes
[Install]
WantedBy=default.target