|
From: Heiko Z. <smi...@us...> - 2005-11-24 15:46:56
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17885/scripts/scripts Modified Files: Tag: rel-1-2-patches 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.3.4.1 retrieving revision 1.3.4.2 diff -u -d -r1.3.4.1 -r1.3.4.2 --- sagator 25 Jul 2005 17:15:51 -0000 1.3.4.1 +++ sagator 24 Nov 2005 15:46:44 -0000 1.3.4.2 @@ -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.4.2.2 retrieving revision 1.4.2.3 diff -u -d -r1.4.2.2 -r1.4.2.3 --- postfix 3 Aug 2005 19:14:51 -0000 1.4.2.2 +++ postfix 24 Nov 2005 15:46:44 -0000 1.4.2.3 @@ -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: " |