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, "asi...@simplyappointments.com"
<asi...@simplyappointments.com> 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 openmeetings-u...@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to