diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2008-06-02 04:18:15 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2008-06-02 04:18:15 +0000 |
commit | 6deb010c4596b845828fcb9e4220d8a57fbf0118 (patch) | |
tree | f7677be860d30b7bd86191ae6019abefaf2be643 /net-ftp/vsftpd/files | |
parent | Stable for HPPA (bug #223965). (diff) | |
download | gentoo-2-6deb010c4596b845828fcb9e4220d8a57fbf0118.tar.gz gentoo-2-6deb010c4596b845828fcb9e4220d8a57fbf0118.tar.bz2 gentoo-2-6deb010c4596b845828fcb9e4220d8a57fbf0118.zip |
Modified init script to allow vsftpd to stop correctly. Thanks to Vaclav Adamik for the suggestion, bug #223225
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-ftp/vsftpd/files')
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd.init | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net-ftp/vsftpd/files/vsftpd.init b/net-ftp/vsftpd/files/vsftpd.init index 591679fd038e..8e280817bd98 100644 --- a/net-ftp/vsftpd/files/vsftpd.init +++ b/net-ftp/vsftpd/files/vsftpd.init @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 2003-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/files/vsftpd.init,v 1.5 2007/04/10 13:00:55 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/files/vsftpd.init,v 1.6 2008/06/02 04:18:15 darkside Exp $ VSFTPD_NAME=${SVCNAME##*.} if [ -n "${VSFTPD_NAME}" -a "${SVCNAME}" != "vsftpd" ]; then @@ -56,8 +56,7 @@ start() { stop() { ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --exec /usr/sbin/vsftpd \ - --pidfile "${VSFTPD_PID}" + start-stop-daemon --stop --exec /usr/sbin/vsftpd eend $? } |