[oe] [meta-networking][PATCH 1/1] proftpd: start at boot time
Joe Slater
jslater at windriver.com
Tue Jul 19 23:41:04 UTC 2016
Add information to proftpd.service so that it will
be started at boot time.
Signed-off-by: Joe Slater <jslater at windriver.com>
---
.../recipes-daemons/proftpd/files/proftpd.service | 8 ++++++--
1 file 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 ba97f8e..3e26d7f 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=- at SBINDIR@/proftpd -c @SYSCONFDIR@/proftpd.conf
-StandardError=syslog
+ExecStart=@SBINDIR@/proftpd -c @SYSCONFDIR@/proftpd.conf
+
+[Install]
+WantedBy=default.target
+
--
1.7.9.5
More information about the Openembedded-devel
mailing list