diff options
Diffstat (limited to 'ansible/roles/udhcpd/files/udhcpd.service')
-rw-r--r-- | ansible/roles/udhcpd/files/udhcpd.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ansible/roles/udhcpd/files/udhcpd.service b/ansible/roles/udhcpd/files/udhcpd.service new file mode 100644 index 0000000..03c34c1 --- /dev/null +++ b/ansible/roles/udhcpd/files/udhcpd.service @@ -0,0 +1,13 @@ +[Unit] +Description=udhcpcd DHCP server +After=network-online.target +Wants=network-online.target + +[Service] +ExecStart=/usr/sbin/udhcpd -f +RestartSec=5 +Restart=always + +[Install] +WantedBy=multi-user.target + |