Date: 2004-03-07T02:39:54 Editor: 81.138.46.11 <> Wiki: Apache James Wiki Page: RunAsService URL: http://wiki.apache.org/james/RunAsService
no comment Change Log: ------------------------------------------------------------------------------ @@ -9,20 +9,20 @@ PHOENIX_HOME=/home/telrock/apps/james and comment out the bit of phoenix.sh - -##PRGDIR=`dirname "$THIS_PROG"` -##PHOENIX_HOME=`cd "$PRGDIR/.." ; pwd` -## -##unset THIS_PROG -## -##if [ -r "$PHOENIX_HOME"/bin/setenv.sh ]; then - 1. . "$PHOENIX_HOME"/bin/setenv.sh -##fi - +{{{ + #PRGDIR=`dirname "$THIS_PROG"` + #PHOENIX_HOME=`cd "$PRGDIR/.." ; pwd` + # + #unset THIS_PROG + # + #if [ -r "$PHOENIX_HOME"/bin/setenv.sh ]; then + 1. . "$PHOENIX_HOME"/bin/setenv.sh + #fi +}}} then very briefly I did this: - -#ln -s /home/telrock/apps/james/bin/phoenix.sh /home/telrock/apps/james/bin/james.sh -#ln -s /home/telrock/apps/james/bin/james.sh /etc/init.d/james -#update-rc.d james start 21 2 3 4 5 . stop 19 0 1 6 . -{{{ }}} +{{{ + ln -s /home/telrock/apps/james/bin/phoenix.sh /home/telrock/apps/james/bin/james.sh + ln -s /home/telrock/apps/james/bin/james.sh /etc/init.d/james + update-rc.d james start 21 2 3 4 5 . stop 19 0 1 6 . +}}} (the double symlink isn't required - it just makes more sense to me)