xref: /OK3568_Linux_fs/buildroot/package/quagga/quagga@.service (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun[Unit]
2*4882a593SmuzhiyunDescription=Quagga %i routing daemon
3*4882a593SmuzhiyunConditionFileIsExecutable=/usr/sbin/%i
4*4882a593SmuzhiyunWants=quagga@zebra.service
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun[Service]
7*4882a593SmuzhiyunType=simple
8*4882a593SmuzhiyunEnvironmentFile=/etc/default/quagga-%i
9*4882a593SmuzhiyunPrivateTmp=true
10*4882a593Smuzhiyun# Systemd doesn't like having %i in the executable path.
11*4882a593SmuzhiyunExecStart=/usr/bin/env /usr/sbin/%i $OPTS -f /etc/quagga/%i.conf
12*4882a593SmuzhiyunExecReload=/bin/kill -HUP $MAINPID
13*4882a593SmuzhiyunRestart=on-failure
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun[Install]
16*4882a593SmuzhiyunWantedBy=multi-user.target
17*4882a593Smuzhiyun
18