2018-12-10 18:04:30 +01:00
|
|
|
[Unit]
|
|
|
|
Description=The BIRD Internet Routing Daemon
|
|
|
|
Documentation=http://bird.network.cz/doc/bird.html
|
|
|
|
Wants=network.target
|
|
|
|
After=network.target
|
|
|
|
ConditionFileIsExecutable=/usr/sbin/bird
|
|
|
|
|
|
|
|
[Service]
|
2021-08-27 15:07:07 +02:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2018-12-10 18:04:30 +01:00
|
|
|
Type=simple
|
|
|
|
ExecStartPre=/usr/sbin/bird -p -u bird -g bird
|
|
|
|
ExecStart=/usr/sbin/bird -u bird -g bird -f -P /run/bird/bird.pid $BIRD_OPTIONS
|
|
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
|
|
|
PIDFile=/run/bird/bird.pid
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|