Skip to contentSkip to conversation

proftpd: start at boot time

PATCH New Joe Slater 1 participant 1 message Jul 19, 2016

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 proftpd: start at boot time

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

---
 .../recipes-daemons/proftpd/files/proftpd.service  |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
meta-networking/recipes-daemons/proftpd/files/proftpd.service +6 -2
index ba97f8e..3e26d7f 100644
@@ -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
+
Signature · 1 line
1.7.9.5