From: <ap...@vh...> - 2006-03-16 13:30:12
|
Author: apevec Date: 2006-03-16 14:29:08 +0100 (Thu, 16 Mar 2006) New Revision: 1102 Modified: trunk/tools/tools/etc/init.d/ccm Log: Change to CCM_HOME otherwise permission error occurs when starting/stopping from a directory unaccessible by the 'servlet' user Modified: trunk/tools/tools/etc/init.d/ccm =================================================================== --- trunk/tools/tools/etc/init.d/ccm 2006-03-10 16:58:59 UTC (rev 1101) +++ trunk/tools/tools/etc/init.d/ccm 2006-03-16 13:29:08 UTC (rev 1102) @@ -24,6 +24,8 @@ start() { echo -n $"Starting $prog: " + cd $CCM_HOME + if [ -x /etc/rc.d/init.d/functions ]; then daemon $LAUNCH_SCRIPT start else @@ -41,6 +43,8 @@ stop() { echo -n $"Stopping $prog: " + cd $CCM_HOME + if [ -x /etc/rc.d/init.d/functions ]; then daemon $LAUNCH_SCRIPT stop else |