Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F2823060
pacemaker.upstart.in
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
946 B
Referenced Files
None
Subscribers
None
pacemaker.upstart.in
View Options
# pacemaker - High-Availability cluster resource manager
#
# Starts pacemakerd
stop on runlevel [0123456]
kill timeout 3600
respawn
env prog=pacemakerd
env sysconf=@CONFIGDIR@/pacemaker
env rpm_lockdir=@localstatedir@/lock/subsys
env deb_lockdir=@localstatedir@/lock
script
[ -f "$sysconf" ] && . "$sysconf"
exec $prog
end script
post-start script
[ -f "$sysconf" ] && . "$sysconf"
[ -z "$LOCK_FILE" -a -d "$rpm_lockdir" ] && LOCK_FILE="$rpm_lockdir/pacemaker"
[ -z "$LOCK_FILE" -a -d "$deb_lockdir" ] && LOCK_FILE="$deb_lockdir/pacemaker"
touch "$LOCK_FILE"
pidof $prog > "@localstatedir@/run/$prog.pid"
end script
post-stop script
[ -f "$sysconf" ] && . "$sysconf"
[ -z "$LOCK_FILE" -a -d "$rpm_lockdir" ] && LOCK_FILE="$rpm_lockdir/pacemaker"
[ -z "$LOCK_FILE" -a -d "$deb_lockdir" ] && LOCK_FILE="$deb_lockdir/pacemaker"
rm -f "$LOCK_FILE"
rm -f "@localstatedir@/run/$prog.pid"
end script
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 25, 7:08 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1312152
Default Alt Text
pacemaker.upstart.in (946 B)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment