package/dropbear: Respect user specific configurations
authorCyril Bur <cyrilbur@gmail.com>
Thu, 29 Oct 2015 06:11:41 +0000 (17:11 +1100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 2 Nov 2015 21:43:06 +0000 (22:43 +0100)
systemd .service file should respect /etc/default/dropbear

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dropbear/dropbear.service

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