dhcp-log.service 405 B

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