'm having a problem, I can start up the service by hand easily check out this screenshot
Those S80policyserver and S80chatserver are the symbolic links. I don’t know what those S80’s suppose to mean… but hopefully not to important.
Here is my policyserver script, which works when I type it… but doesn’t even get ran when I restart my Parallels Power Panel
[code]#!/bin/bash
policyserver: Startup script for Policy Server Application.
chkconfig: 35 80 05
description: Startup script for Policy Server Application.
CAMSPARK_POLICY_HOME=/var/local/camsparkserver/Policy;
export CAMSPARK_POLICY_HOME
start() {
echo -n "Starting Policy Server: "
$CAMSPARK_POLICY_HOME/Policy.sh start
sleep 2
echo “done”
}
stop() {
echo -n "Stopping Policy Server: "
$CAMSPARK_POLICY_HOME/Policy.sh stop
echo “done”
}
See how we were called.
case “$1” in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $“Usage: policyserver {start|stop|restart}”
exit
esac
[/code]