smeserver-dhcp-dns/root/usr/lib/systemd/system/dhcp-dns.service

12 lines
251 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=DHCP leases to DNS
After=tinydns.service dhcpd.service
[Service]
ExecStartPre=/sbin/e-smith/service-status dhcp-dns
ExecStart=/usr/bin/perl /sbin/e-smith/systemd/dhcp-dns
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target