dhcp: dhcpd.service: /etc/default/dhcpd.conf is optional

The environment file is for optional customization, so don't error out if it
isn't present.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2015-11-09 23:18:25 +01:00
parent 04e401e20a
commit 21aa707a12

View File

@ -7,7 +7,7 @@ Type=forking
PIDFile=/run/dhcpd.pid
ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $INTERFACES
KillSignal=SIGINT
EnvironmentFile=/etc/default/dhcpd.conf
EnvironmentFile=-/etc/default/dhcpd.conf
[Install]
WantedBy=multi-user.target