Browse Source

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>
Peter Korsgaard 9 years ago
parent
commit
21aa707a12
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/dhcp/dhcpd.service

+ 1 - 1
package/dhcp/dhcpd.service

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