dhcp-log-truncate.service 206 B

1234567891011
  1. [Unit]
  2. Description=Clear dhcp.log before starting dhcp-log
  3. Before=dhcp-log.service
  4. [Service]
  5. Type=oneshot
  6. ExecStart=/usr/bin/truncate -s 0 /var/log/dhcp.log
  7. User=root
  8. [Install]
  9. WantedBy=multi-user.target