|
From: Heiko Z. <smi...@us...> - 2005-11-24 15:47:04
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17936 Modified Files: postfix sagator Log Message: - sagator and postfix init scripts now call 'jail stop' on shutdown Index: sagator =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/sagator,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- sagator 25 Jul 2005 17:16:58 -0000 1.4 +++ sagator 24 Nov 2005 15:46:56 -0000 1.5 @@ -53,6 +53,7 @@ stop) echo -n "Shutting down $NAME: " killproc $DAEMON + /etc/init.d/jail stop SAGATOR ;; restart) $0 stop Index: postfix =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/postfix,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- postfix 3 Aug 2005 19:15:11 -0000 1.6 +++ postfix 24 Nov 2005 15:46:56 -0000 1.7 @@ -68,6 +68,9 @@ echo -n "Shutting down $NAME: " $PFIXBIN stop 2&> /dev/null evaluate_retval + if [ -f /etc/sysconfig/jail/$PACKAGE_NAME ] && [ "$JAIL_ENABLE" == yes ]; then + /etc/init.d/jail stop $PACKAGE_NAME + fi ;; reload) echo -n "Reloading $NAME: " |