diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-11 06:21:12 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-11 06:21:12 +0200 |
commit | ceedf010c914556ebe7eb3211b7b43ccd5deb39f (patch) | |
tree | 92f0bcfabc0193abdbc3b86d7992b2bc60adfeb3 /package/openais/files/openais.init | |
parent | a373c925622077caa35eb97ab85965e52d7e832d (diff) | |
parent | a1eafbfc0077cd7074961e635ca2387ada7da440 (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.init | 7 |
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 |