here sample script for init.d red5, save this code below into /etc/
init.d/red5
copy this code below :
#
#!/bin/sh -e
#
# Startup script for Red5
export RED5_HOME=/usr/lib/openmeetings/
start_red5="$RED5_HOME/red5.sh start"
stop_red5="$RED5_HOME/red5-shutdown.sh stop"
start() {
echo -n "Starting Red5: "
${start_red5}
echo "done."
}
stop() {
echo -n "Shutting down Red5: "
${stop_red5}
echo "done."
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 10
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
esac
exit 0
On Nov 26, 12:07 am, "[email protected]"
<[email protected]> wrote:
> It seems I don't know where the red5 home path is...
>
> RED5_HOME= ???
>
> A working script for CentOS would be very helpful.
>
> please and thanks
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-user?hl=en.