Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kisielk
maui-3.2.6p21
maui-init.d.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File maui-init.d.sh of Package maui-3.2.6p21
#!/bin/sh # # maui This script will start and stop the MAUI Scheduler # # chkconfig: 345 85 85 # description: maui # ulimit -n 32768 # Source the library functions . /etc/rc.d/init.d/functions [ -f /etc/sysconfig/maui ] && . /etc/sysconfig/maui # let see how we were called case "$1" in start) echo -n "Starting MAUI Scheduler: " daemon /usr/sbin/maui $MAUI_FLAGS RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/maui ;; stop) PID=`/sbin/pidof /usr/sbin/maui` if [ "$PID" ] ; then echo -n "Shutting down MAUI Scheduler: " ( /usr/bin/schedctl $SCHEDCTL_SHUTDOWN > /dev/null && /bin/sleep 1 && success ) || failure RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/maui else echo -n "MAUI is already stopped: " && success echo fi ;; status) status maui ;; restart) $0 stop $0 start ;; *) echo "Usage: maui {start|stop|restart|status}" exit 1 esac
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor