|
From: Bruce S. <bl...@us...> - 2005-08-03 19:15:19
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17638 Modified Files: postfix Log Message: Make JAIL optional in postfix. Index: postfix =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/postfix,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- postfix 25 Jul 2005 17:16:58 -0000 1.5 +++ postfix 3 Aug 2005 19:15:11 -0000 1.6 @@ -46,7 +46,9 @@ case "$1" in start) - /etc/init.d/jail start $PACKAGE_NAME + if [ -f /etc/sysconfig/jail/$PACKAGE_NAME ] && [ "$JAIL_ENABLE" == yes ]; then + /etc/init.d/jail start $PACKAGE_NAME + fi # if a db file does not exist or the corresponding file is # newer than the db file, create the db file |