[mythtv-users] Multiple commercial flagging tasks causing Mythbackend to die
A JM
vbtalent at gmail.com
Wed Sep 19 11:21:28 UTC 2007
Ryan, after doing some research it appears to me that the part of your
script you posted isn't in its entirety. Is this part of a larger bash
script? how is this implemented? I'm still a bit new to linux so learning as
Igo.
Thanks,
stop() {
echo -n "Stopping ${MBE_PROG}: "
killproc ${MBE_LOCATION}${MBE_PROG}
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/${MBE_PROG}
echo -n "Stopping Mythtranscode"
killproc ${MBE_DIR}mythtranscode
RETVAL=$?
[ $RETVAL -eq 0 ]
echo
echo -n "Stopping Mythcommflag"
killproc ${MBE_DIR}mythcommflag
RETVAL=$?
[ $RETVAL -eq 0 ]
echo
return $RETVAL
}
restart() {
stop
[ -e /var/lock/subsys/${MBE_PROG} ] && rm -f
/var/lock/subsys/${MBE_PROG}
start
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070919/160edc08/attachment.htm
More information about the mythtv-users
mailing list