db-move: moved firefox-i18n from [testing] to [extra] (any)
[arch-packages.git] / dhcp / trunk / dhcpd4.service
blob82b5d2b523d243e0bf936615f5064025b4bc008c
1 [Unit]
2 Description=IPv4 DHCP server
3 After=network.target network-online.target
4 Wants=network-online.target
6 [Service]
7 Type=forking
8 ExecStart=/usr/bin/dhcpd -4 -q -cf /etc/dhcpd.conf -pf /run/dhcpd4/dhcpd.pid
9 RuntimeDirectory=dhcpd4
10 PIDFile=/run/dhcpd4/dhcpd.pid
11 User=dhcp
12 AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
13 ProtectSystem=full
14 ProtectHome=on
15 KillSignal=SIGINT
16 # We pull in network-online.target for a configured network connection.
17 # However this is not guaranteed to be the network connection our
18 # networks are configured for. So try to restart on failure with a delay
19 # of two seconds. Rate limiting kicks in after 12 seconds.
20 RestartSec=2s
21 Restart=on-failure
22 StartLimitInterval=12s
24 [Install]
25 WantedBy=multi-user.target