summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/heartbeat/files/heartbeat-init')
-rw-r--r--sys-cluster/heartbeat/files/heartbeat-init6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-cluster/heartbeat/files/heartbeat-init b/sys-cluster/heartbeat/files/heartbeat-init
index 5a81a21ce818..1de6fc5862e4 100644
--- a/sys-cluster/heartbeat/files/heartbeat-init
+++ b/sys-cluster/heartbeat/files/heartbeat-init
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/files/heartbeat-init,v 1.7 2007/03/01 00:48:11 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/files/heartbeat-init,v 1.8 2012/10/29 16:44:23 ultrabug Exp $
HA_DIR=/etc/ha.d
. $HA_DIR/shellfuncs
@@ -26,6 +26,8 @@ RunStartStop() {
}
start() {
+ checkpath -q -d -m 0755 -o root:root /var/run/heartbeat
+
ebegin "Starting heartbeat"
. $HA_DIR/shellfuncs