Viitor_glusterfs/etc/init/glusterfsd.conf
kueller 64d52061db Merge mit V962 Tree
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_glusterfs@5984 504e572c-2e33-0410-9681-be2bf7408885
2011-02-18 10:37:51 +00:00

25 lines
509 B
Plaintext

description "Startup GlusterFS Daemon"
author "Michael Freitag <Michael.Freitag@freitag-systemtechnik.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started mountfs))
stop on runlevel [016]
console none
pre-start script
source /etc/init/functions
if [ ! -f /etc/glusterfs/glusterfsd.vol ]; then
exit 10
fi
modprobe fuse
end script
post-start exec mount -a -t glusterfs
pre-stop exec umount -a -t fuse.glusterfs
exec /usr/sbin/glusterfsd -N -f /etc/glusterfs/glusterfsd.vol