summaryrefslogtreecommitdiff
path: root/package/openais/files/openais.init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
commitceedf010c914556ebe7eb3211b7b43ccd5deb39f (patch)
tree92f0bcfabc0193abdbc3b86d7992b2bc60adfeb3 /package/openais/files/openais.init
parenta373c925622077caa35eb97ab85965e52d7e832d (diff)
parenta1eafbfc0077cd7074961e635ca2387ada7da440 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/openais/files/openais.init')
-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