dhcp-log.service 378 B

123456789101112131415161718
  1. [Unit]
  2. Description=Write dhcp events to Eye
  3. After=network.target mariadb.service dnsmasq.service dhcpd.service
  4. [Service]
  5. Type=forking
  6. User=eye
  7. Group=eye
  8. RuntimeDirectory=eye
  9. RuntimeDirectoryMode=0700
  10. RuntimeDirectoryPreserve=yes
  11. ExecStart=/opt/Eye/scripts/dhcp-log.pl --start
  12. PIDFile=/run/eye/dhcp-log.pid
  13. RestartSec=30
  14. Restart=on-failure
  15. [Install]
  16. WantedBy=multi-user.target