Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 439936 Details for
Bug 588208
sys-cluster/pacemaker: add custom stop timeout to init
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/init.d/pacemaker patch
pacemaker.initd (text/plain), 952 bytes, created by
JY
on 2016-07-07 08:56:33 UTC
(
hide
)
Description:
/etc/init.d/pacemaker patch
Filename:
MIME Type:
Creator:
JY
Created:
2016-07-07 08:56:33 UTC
Size:
952 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Id$ > >PIDFILE=/var/run/pacemaker.pid >PACEMAKER_STOPTIMEOUT=${PACEMAKER_STOPTIMEOUT:-10} > >depend() { > need net corosync > use syslog >} > >start() { > nc=0 > ebegin "Starting Pacemaker Cluster Manager" > > checkpath -d -m 0750 -o hacluster:haclient /var/run/crm > > einfon "Waiting for Corosync startup ." > while true; do > /usr/sbin/corosync-cfgtool -s &>/dev/null && break > nc=$(expr $nc + 1) > if [ $nc -gt 30 ]; then > echo > eend 1 "Failed to detect Corosync startup, is it really running ?" > exit 1 > fi > sleep 1 > echo -n "." > done > echo > start-stop-daemon --start -q --exec /usr/sbin/pacemakerd \ > --pidfile "${PIDFILE}" --make-pidfile --background \ > -- -f > eend $? >} > >stop() { > ebegin "Stopping Pacemaker Cluster Manager" > start-stop-daemon --stop -q --pidfile "${PIDFILE}" --retry ${PACEMAKER_STOPTIMEOUT} > eend $? >}
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 588208
:
439936
|
439938