SHA256
1
0
forked from pool/bird
bird/bird.service
2021-10-15 14:53:50 +00:00

26 lines
718 B
Desktop File

[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]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
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