[proftpd: 2/4] Replace the unit file with the one I've been testing

Paul Howarth pghmcfc at fedoraproject.org
Wed Sep 28 18:27:15 UTC 2011


commit 3c0a8922f765b254a14a9041a4626ac6585e3d38
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Sep 12 20:06:54 2011 +0100

    Replace the unit file with the one I've been testing

 proftpd.service |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/proftpd.service b/proftpd.service
index 627598d..6751890 100644
--- a/proftpd.service
+++ b/proftpd.service
@@ -1,10 +1,12 @@
 [Unit]
-Description=ProFTPd FTP Server
-After=syslog.target network.target
+Description=ProFTPD FTP Server
+After=syslog.target network.target nss-lookup.target local-fs.target remote-fs.target
 
 [Service]
-EnvironmentFile=-/etc/sysconfig/proftpd
+Type=forking
+EnvironmentFile=/etc/sysconfig/proftpd
 ExecStart=/usr/sbin/proftpd $PROFTPD_OPTIONS
+ExecReload=/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target


More information about the scm-commits mailing list