This website requires JavaScript.
f99c5f60d202e84f5defb63e771f60d20cf43df9
nova /tools /ajaxterm /configure.initd.redhat
76 lines
1.4 KiB
Plaintext
2010年09月17日 19:08:22 -07:00
#
# ajaxterm Startup script for ajaxterm
# description: Ajaxterm is a yadda yadda yadda
# pidfile: /var/run/ajaxterm.pid
# version: 1.0 Kevin Reichhart - ajaxterminit at lastname dot org
# Source function library.
. /etc/rc.d/init.d/functions
if [ -f /etc/sysconfig/ajaxterm ]; then
. /etc/sysconfig/ajaxterm
ajaxterm=/usr/local/bin/ajaxterm
pidfile=${PIDFILE-/var/run/ajaxterm.pid}
lockfile=${LOCKFILE-/var/lock/subsys/ajaxterm}
echo -n $"Starting $prog: "
daemon $ajaxterm --daemon --port=$port --uid=$user $OPTIONS
[ $RETVAL = 0 ] && touch ${lockfile}
echo -n $"Stopping $prog: "
[ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile}
echo -n $"Reloading $prog: "
# See how we were called.
if [ -f ${pidfile} ] ; then
echo $"Usage: $prog {start|stop|restart|condrestart}"