quagga@.service 403 B

1234567891011121314151617
  1. [Unit]
  2. Description=Quagga %i routing daemon
  3. ConditionFileIsExecutable=/usr/sbin/%i
  4. Wants=quagga@zebra.service
  5. [Service]
  6. Type=simple
  7. EnvironmentFile=/etc/default/quagga-%i
  8. PrivateTmp=true
  9. # Systemd doesn't like having %i in the executable path.
  10. ExecStart=/usr/bin/env /usr/sbin/%i $OPTS -f /etc/quagga/%i.conf
  11. ExecReload=/bin/kill -HUP $MAINPID
  12. Restart=on-failure
  13. [Install]
  14. WantedBy=multi-user.target