Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F7609265
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
669 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/mcp/pacemaker.upstart b/mcp/pacemaker.upstart
new file mode 100644
index 0000000000..ba4f0480ee
--- /dev/null
+++ b/mcp/pacemaker.upstart
@@ -0,0 +1,27 @@
+# pacemaker - High-Availability cluster resource manager
+#
+# Starts pacemakerd
+
+stop on runlevel [016]
+kill timeout 3600
+respawn
+
+env prog=pacemakerd
+env LOCK_FILE=/var/lock/subsys/pacemaker
+
+script
+ [ -f /etc/sysconfig/pacemaker ] && {
+ . /etc/sysconfig/pacemaker
+ }
+ exec $prog
+end script
+
+post-start script
+ touch $LOCK_FILE
+ pidof $prog > /var/run/$prog.pid
+end script
+
+post-stop script
+ rm -f $LOCK_FILE
+ rm -f /var/run/$prog.pid
+end script
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Oct 15, 11:59 PM (2 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2530603
Default Alt Text
(669 B)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment