Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 116288 Details for
Bug 174670
sys-cluster/pvfs2-2.6.3 version bump ebuild provided
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pvfs2-server.rc
pvfs2-server.rc (text/plain), 1.44 KB, created by
Fernando Gutiérrez
on 2007-04-15 11:21:58 UTC
(
hide
)
Description:
pvfs2-server.rc
Filename:
MIME Type:
Creator:
Fernando Gutiérrez
Created:
2007-04-15 11:21:58 UTC
Size:
1.44 KB
patch
obsolete
>#!/sbin/runscript ># ># description: pvfs2-server is the server component of PVFS2 > > ># verify presence of server binary >if ! [ -x ${PVFS2SERVER} ]; then > echo "Error: could not find executable ${PVFS2SERVER}" > exit 1 >fi > ># look for fs conf >if test "x$PVFS2_FS_CONF" = x >then > PVFS2_FS_CONF=${PVFS2_CONF_PATH}/pvfs2-fs.conf >fi >if ! [ -r ${PVFS2_FS_CONF} ]; then > echo "Error: could not read ${PVFS2_FS_CONF}" > exit 1 >fi > ># look for server conf >if test "x$PVFS2_SERVER_CONF" = x >then > #determine hostname > if test "x$HOSTNAME" = x > then > HOSTNAME=`hostname` > fi > THIS_HOSTNAME=`echo $HOSTNAME | cut -d '.' -f 1` > > if test "x$THIS_HOSTNAME" = xlocalhost > then > echo "Warning: detected hostname as localhost, may confuse PVFS2 startup" > fi > > PVFS2_SERVER_CONF=${PVFS2_CONF_PATH}/pvfs2-server.conf-${THIS_HOSTNAME} >fi >if ! [ -r ${PVFS2_SERVER_CONF} ]; then > echo "Error: could not read ${PVFS2_SERVER_CONF}" > exit 1 >fi > >depend() { > after localmount netmount nfsmount dns > use net >} > >start() { > ebegin "Starting PVFS2 server" > start-stop-daemon --start --quiet --background \ > --pidfile ${PVFS2_PIDFILE} --make-pidfile \ > --exec ${PVFS2SERVER} -- ${PVFS2_FS_CONF} ${PVFS2_SERVER_CONF} ${PVFS2_OPTIONS} > touch /var/lock/subsys/pvfs2-server > eend $? "Error starting PVFS2 server" >} > >stop() { > ebegin "Stopping PVFS2 server" > start-stop-daemon --stop --quiet --pidfile ${PVFS2_PIDFILE} > eend $? "Error stopping PVFS2 server" > rm -f /var/lock/subsys/pvfs2-server >}
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 174670
:
116286
|
116287
|
116288
|
116290
|
116371
|
116372
|
116373
|
116374
|
117745
|
117746
|
117747
|
123060
|
123180
|
123191
|
123192
|
123194
|
123195
|
123197
|
132528
|
132530