Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE12
xrootd
frm_xfrd
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File frm_xfrd of Package xrootd
#!/bin/sh # ### BEGIN INIT INFO # Provides: frm_xfrd # Required-Start: $syslog $remote_fs $network # Required-Stop: $syslog $remote_fs $network # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: frm_xfrd daemon providing xrootd-server # Description: frm_xfrd daemon providing xrootd-server ### END INIT INFO FRMXFRD_BIN=/usr/bin/frm_xfrd test -x $XROOT_BIN || { echo "$FRMXFRD_BIN not installed"; if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; } FRMXFRD_CONFIG=/etc/sysconfig/xrootd test -r $FRMXFRD_CONFIG || { echo "$FRMXFRD_CONFIG not existing"; if [ "$1" = "stop" ]; then exit 0; else exit 6; fi; } FRMXFRD_FUNCTIONS=/etc/xrootd/xrootd.functions test -r $FRMXFRD_FUNCTIONS || { echo "$FRMXFRD_FUNCTIONS not existing"; if [ "$1" = "stop" ]; then exit 0; else exit 6; fi; } . $FRMXFRD_FUNCTIONS . $FRMXFRD_CONFIG . /etc/rc.status rc_reset case "$1" in start) echo -n "Starting FRMXFRD " /sbin/startproc $FRMXFRD_BIN rc_status -v ;; stop) echo -n "Shutting down FRMXFRD " /sbin/killproc $FRMXFRD_BIN rc_status -v ;; try-restart|condrestart) if test "$1" = "condrestart"; then echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" fi $0 status if test $? = 0; then $0 restart else rc_reset # Not running is not a failure. fi rc_status ;; restart) $0 stop $0 start rc_status ;; force-reload) echo -n "Reload service FRMXFRD " /sbin/killproc -HUP $FRMXFRD_BIN rc_status -v ;; reload) echo -n "Reload service FRMXFRD " /sbin/killproc -HUP $FRMXFRD_BIN rc_status -v ;; status) echo -n "Checking for service FRMXFRD " /sbin/checkproc $FRMXFRD_BIN rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}" exit 1 ;; esac rc_exit
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