Hello, I tested this manual on CentOS 6 and this code in init.d not work.
Code opening only menu valid commands.
For CentOS 6
case "$1" in
start)
su - "$RUN_AS" -c "$FISHEYE_HOME/bin/fisheyectl.sh start"
;;
stop)
su - "$RUN_AS" -c "$FISHEYE_HOME/bin/fisheyectl.sh stop"
;;
restart)
su - "$RUN_AS" -c "$FISHEYE_HOME/bin/fisheyectl.sh stop"
sleep 10
su - "$RUN_AS" -c "$FISHEYE_HOME/bin/fisheyectl.sh start"
;;
*)
echo "Usage: $-0 {start|stop|restart}"
esac
exit 0
Thank you
Goodbye
Jakub Korbel
reference to Atlassian Documentation: How to start FishEye and Crucible at boot time
What is the error that you're getting?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.