/lib/systemd/system/zebra.service is in quagga-core 1.2.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | [Unit]
Description=GNU Zebra routing manager
Wants=network.target
Before=network.target
After=network-pre.target
ConditionPathExists=/etc/quagga/zebra.conf
Documentation=man:zebra
[Service]
Type=forking
ExecStartPre=/sbin/ip route flush proto zebra
ExecStartPre=-/bin/chmod -f 640 /etc/quagga/vtysh.conf /etc/quagga/zebra.conf
ExecStartPre=-/bin/chown -f quagga:quagga /etc/quagga/zebra.conf
ExecStartPre=-/bin/chown -f quagga:quaggavty /etc/quagga/vtysh.conf
ExecStart=/usr/sbin/zebra -d -A 127.0.0.1 -f /etc/quagga/zebra.conf
Restart=on-abort
RuntimeDirectory=quagga
RuntimeDirectoryMode=775
Group=quagga
[Install]
WantedBy=multi-user.target
|