]> git.pld-linux.org Git - packages/pure-ftpd.git/blobdiff - pure-ftpd.init
- rel 3; keep scripts in new /etc/pure-ftpd directory structure; fix issues with...
[packages/pure-ftpd.git] / pure-ftpd.init
index fab402e98d5b2c5bb1ad72b40d2da689b335fa62..a34fdbae4d7efed717141824a51c1da58efdf7f1 100644 (file)
@@ -12,9 +12,9 @@
 # Get network config
 . /etc/sysconfig/network
 
-PURE_AUTH_SCRIPT=/etc/ftpd/auth.script
+PURE_AUTH_SCRIPT=/etc/pure-ftpd/authd/auth.script
 PURE_AUTH_SOCKET=/var/run/pure-authd/socket
-PURE_CERT_SCRIPT=/etc/ftpd/cert.script
+PURE_CERT_SCRIPT=/etc/pure-ftpd/certd/cert.script
 PURE_CERT_SOCKET=/var/run/pure-certd/socket
 
 # Get service config
@@ -70,7 +70,7 @@ start() {
                        modprobe -s capability > /dev/null 2>&1
                        daemon /usr/sbin/pure-ftpd /etc/ftpd/pureftpd.conf \
                                $([ "$PURE_AUTH" = "yes" ] && echo "-lextauth:$PURE_AUTH_SOCKET") \
-                               $([ "$PURE_CERT" = "yes" ] && echo "-lextcert:$PURE_CERT_SOCKET") \
+                               $([ "$PURE_CERT" = "yes" ] && echo "--extcert=$PURE_CERT_SOCKET") \
                                --daemonize
                        RETVAL=$?
 
This page took 0.104309 seconds and 4 git commands to generate.