mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-27 12:11:53 +00:00
Pkg: Improve RPM package unit file
Update the RPM package unit file to check configuration before start and to use "birdc configure" instead of "kill -HUP".
This commit is contained in:
parent
9b0b2c0d41
commit
c3828879a3
@ -5,8 +5,9 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
ExecStartPre=/usr/sbin/bird -p
|
||||||
ExecStart=/usr/sbin/bird -f -u bird -g bird
|
ExecStart=/usr/sbin/bird -f -u bird -g bird
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/usr/sbin/birdc configure
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user