summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2003-04-04 07:20:12 +0000
committerStefan Eßer <se@FreeBSD.org>2003-04-04 07:20:12 +0000
commit61e0035ee2346c7cfb35c8775c2713877fd41c56 (patch)
treee82b258dafc21c3af74f75084e9492de38f3efa4 /ftp
parentUpdate to 2.0.3. (diff)
PID file creation is now safe: Re-enable previous 'stop' procedure and kill
process identified in PID file instead of the 'killall jftpgw' used as a work-around.
Diffstat (limited to 'ftp')
-rw-r--r--ftp/jftpgw/files/jftpgw.sh.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftp/jftpgw/files/jftpgw.sh.in b/ftp/jftpgw/files/jftpgw.sh.in
index 9c5fc8616a12..c0e8ae90134d 100644
--- a/ftp/jftpgw/files/jftpgw.sh.in
+++ b/ftp/jftpgw/files/jftpgw.sh.in
@@ -16,10 +16,8 @@ start)
;;
stop)
-# work around PID file creation problem
- killall jftpgw
-# PID=`cat $PIDFILE 2>/dev/null`
-# ps -p "$PID" | tail +2 | grep -sqw $PROGRAM && kill $PID
+ PID=`cat $PIDFILE 2>/dev/null`
+ ps -p "$PID" | tail +2 | grep -sqw $PROGRAM && kill $PID
;;
*)