0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 20:58:44 +00:00
bird/distro/pkg/rpm/bird.service
Vincent Bernat c3828879a3 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".
2022-03-11 15:47:00 +01:00

15 lines
282 B
Desktop File

[Unit]
Description=BIRD Internet Routing Daemon
Wants=network.target
After=network.target
[Service]
Type=simple
ExecStartPre=/usr/sbin/bird -p
ExecStart=/usr/sbin/bird -f -u bird -g bird
ExecReload=/usr/sbin/birdc configure
Restart=on-failure
[Install]
WantedBy=multi-user.target