summaryrefslogtreecommitdiff
path: root/package/openais/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
commit6bde5bd7302d9eeca63d55c8b57a6c544e56fe8c (patch)
tree6e81df59d768d51bbbff1e4f8de8c9ddfefa1213 /package/openais/files
parentb35c2c31271fbaa05c5839133f623c84324e34b7 (diff)
push pacemaker stuff in a usable state.
Diffstat (limited to 'package/openais/files')
-rw-r--r--package/openais/files/openais.init7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/openais/files/openais.init b/package/openais/files/openais.init
index f36121c7a..25b2d8974 100644
--- a/package/openais/files/openais.init
+++ b/package/openais/files/openais.init
@@ -10,13 +10,16 @@ autostart)
exec sh $0 start
;;
start)
- mount -t tmpfs -o size=4M tmpfs /dev/shm
[ -d /var/lib/corosync ] || mkdir -p /var/lib/corosync
+ mkdir -p /var/lib/heartbeat/crm
+ chown hacluster:haclient /var/lib/heartbeat/crm
+ chmod 775 /var/lib/heartbeat/crm
+ mkdir -p /var/lib/pengine
+ chown hacluster /var/lib/pengine
/usr/sbin/aisexec
;;
stop)
kill $(pgrep -f corosync)
- umount /dev/shm
;;
restart)
sh $0 stop