Hey guys,
What does Atlassian recommend in running these processes as daemons?
Currently I'm using start-stop-daemon in a script like this.
FISHEYE_PATH="/opt/fisheye/fecru-3.2.0/bin"
case "$1" in
start)
start-stop-daemon --start --quiet -c crucible -g crucible --exec $FISHEYE_PATH/start.sh
;;
stop)
start-stop-daemon --start --quiet -c crucible -g crucible --exec $FISHEYE_PATH/stop.sh
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
Is there anything wrong with this?