Add information to proftpd.service so that it will
be started at boot time.

Signed-off-by: Joe Slater <[email protected]>
---
 .../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=-@SBINDIR@/proftpd -c @SYSCONFDIR@/proftpd.conf
-StandardError=syslog
+ExecStart=@SBINDIR@/proftpd -c @SYSCONFDIR@/proftpd.conf
+
+[Install]
+WantedBy=default.target
+
-- 
1.7.9.5

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to