Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312908 Details for
Bug 457112
[RFE] simple dedicated init script for fence_xvmd
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
A sample init script for fence_xvmd
fence_xvmd.init (text/plain), 1.67 KB, created by
Satoru SATOH
on 2008-07-29 17:37:56 UTC
(
hide
)
Description:
A sample init script for fence_xvmd
Filename:
MIME Type:
Creator:
Satoru SATOH
Created:
2008-07-29 17:37:56 UTC
Size:
1.67 KB
patch
obsolete
>#! /bin/bash ># ># fence_xvmd: init script for fence_xvmd. ># ># chkconfig: 345 80 30 ># description: I/O Fencing agent host for Xen virtual machines ># processname: fence_xvmd ># config: /etc/cluster/fence_xvm.key ># pidfile: /var/run/fence_xvmd.pid ># >### BEGIN INIT INFO ># Provides: fence_xvmd ># Required-Start: ># Required-Stop: ># Default-Start: 3 4 5 ># Default-Stop: 0 1 2 6 ># Short-Description: I/O Fencing agent host ># Description: I/O Fencing agent host for Xen virtual machines >### END INIT INFO > >SERVICE=fence_xvmd >PROCESS=fence_xvmd >DAEMON=/sbin/fence_xvmd >DAEMON_OPTS="-LX" >PIDFILE=/var/run/$PROCESS.pid > > ># Source function library. >. /etc/init.d/functions > >test -x $DAEMON || exit 1 > >start() { > echo -n $"Starting $SERVICE: " > if test -f $PIDFILE; then > echo $"$PROCESS is already started." > return 0 > fi > $DAEMON $DAEMON_OPTS > RETVAL=$? > if test "$RETVAL" -eq 0; then > success $"$SERVICE startup" > pidofproc $PROCESS > $PIDFILE > RETVAL=$? > else > failure $"$SERVICE startup" > fi > echo > return $RETVAL >} > >stop() { > echo -n $"Stopping $SERVICE:" > killproc $PROCESS > RETVAL=$? > echo > [ $RETVAL -eq 0 ] && rm -f $PIDFILE > return $RETVAL >} > >restart() { > stop && start >} > >RETVAL=0 >case "$1" in > start) > start > RETVAL=$? > ;; > stop) > stop > RETVAL=$? > ;; > restart) > restart > RETVAL=$? > ;; > reload) > echo "$0 does not support configuration reloading, you have to restart it." > RETVAL=1 > ;; > status) > status $PROCESS > RETVAL=$? > ;; > *) > echo $"Usage: $0 {start|stop|restart|reload|status}" > RETVAL=1 >esac > >exit $RETVAL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 457112
:
312908
|
313419
|
313874