dropbear: dropbear.service: /etc/default/dropbear is optional
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 9 Nov 2015 22:11:52 +0000 (23:11 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 9 Nov 2015 22:11:52 +0000 (23:11 +0100)
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>
package/dropbear/dropbear.service

index 66ec9cf55104aa4098d43c2aaa4c3e283af1bbc2..620cdd7a503a4661eb94fc71b2a85b02a72b3d3a 100644 (file)
@@ -19,7 +19,7 @@ if [ -L /etc/dropbear \
         mkdir -p "$(readlink /etc/dropbear)"; \
     fi; \
 fi'
-EnvironmentFile=/etc/default/dropbear
+EnvironmentFile=-/etc/default/dropbear
 ExecStart=/usr/sbin/dropbear -F -R $DROPBEAR_ARGS
 ExecReload=/bin/kill -HUP $MAINPID