Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 173365 | Differences between
and this patch

Collapse All | Expand All

(-)pure-ftpd.rc6 (-2 / +2 lines)
Lines 21-27 Link Here
21
		UPSCRIPT="--uploadscript"
21
		UPSCRIPT="--uploadscript"
22
	fi
22
	fi
23
	ebegin "Starting Pure-FTPd"
23
	ebegin "Starting Pure-FTPd"
24
	start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pure-ftpd.pid --exec /usr/sbin/pure-ftpd -- $SERVER $MAX_CONN $MAX_CONN_IP $DAEMON $DISK_FULL $USE_NAT $AUTH $LOG $TIMEOUT $CHARCONV $MISC_OTHER $UPSCRIPT
24
	/usr/sbin/pure-ftpd $SERVER $MAX_CONN $MAX_CONN_IP $DAEMON $DISK_FULL $USE_NAT $AUTH $LOG $TIMEOUT $CHARCONV $MISC_OTHER $UPSCRIPT
25
	result=$?
25
	result=$?
26
	if [ $result -ne 0 ] ; then
26
	if [ $result -ne 0 ] ; then
27
		eend 1 "Could not launch Pure-FTPd"
27
		eend 1 "Could not launch Pure-FTPd"
Lines 29-35 Link Here
29
		eend $result
29
		eend $result
30
		if [ -n "$UPLOADSCRIPT" ] ; then
30
		if [ -n "$UPLOADSCRIPT" ] ; then
31
			ebegin "Starting Pure-FTPd upload script"
31
			ebegin "Starting Pure-FTPd upload script"
32
			start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pure-uploadscript.pid --exec /usr/sbin/pure-uploadscript -- -B -r $UPLOADSCRIPT
32
			/usr/sbin/pure-uploadscript -B -r $UPLOADSCRIPT
33
			eend $?
33
			eend $?
34
		fi
34
		fi
35
	fi
35
	fi

Return to bug 173365