summaryrefslogtreecommitdiff
path: root/package/openais/files/openais.init
diff options
context:
space:
mode:
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