From f8dd8cde90c4d6c945177117953e7123e1401236 Mon Sep 17 00:00:00 2001 From: Joe Slater Date: Tue, 19 Jul 2016 16:41:04 -0700 Subject: proftpd: start at boot time Add information to proftpd.service so that it will be started at boot time. Signed-off-by: Joe Slater Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-daemons/proftpd/files/proftpd.service | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'meta-networking/recipes-daemons') diff --git a/meta-networking/recipes-daemons/proftpd/files/proftpd.service b/meta-networking/recipes-daemons/proftpd/files/proftpd.service index ba97f8e1ca..3e26d7f386 100644 --- a/meta-networking/recipes-daemons/proftpd/files/proftpd.service +++ b/meta-networking/recipes-daemons/proftpd/files/proftpd.service @@ -1,7 +1,11 @@ [Unit] Description=proftpd Daemon +After=network.target [Service] Type=forking -ExecStart=-@SBINDIR@/proftpd -c @SYSCONFDIR@/proftpd.conf -StandardError=syslog +ExecStart=@SBINDIR@/proftpd -c @SYSCONFDIR@/proftpd.conf + +[Install] +WantedBy=default.target + -- cgit 1.2.3-korg