aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2016-07-19 16:41:04 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2016-08-05 09:06:50 -0400
commitf8dd8cde90c4d6c945177117953e7123e1401236 (patch)
tree107aac4cafefa108c6f47da865b72e8d7bea6e05 /meta-networking/recipes-daemons
parent4c854d2bf1d4bcdd41da7b9022f7af4947cbd2c1 (diff)
downloadmeta-openembedded-contrib-f8dd8cde90c4d6c945177117953e7123e1401236.tar.gz
proftpd: start at boot time
Add information to proftpd.service so that it will be started at boot time. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons')
-rw-r--r--meta-networking/recipes-daemons/proftpd/files/proftpd.service8
1 files changed, 6 insertions, 2 deletions
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
+