diff --git a/sample-rc.d/rc.local b/sample-rc.d/rc.local index 435b7fe..6813866 100755 --- a/sample-rc.d/rc.local +++ b/sample-rc.d/rc.local @@ -8,6 +8,9 @@ # Start the qemu guest additions agent. [ -x /etc/rc.d/rc.qemu-ga ] && /etc/rc.d/rc.qemu-ga start +# Start GlusterFS daemon. +[ -x /etc/rc.d/rc.glusterd ] && /etc/rc.d/rc.glusterd start + # Start the vnstat daemon. [ -x /etc/rc.d/rc.vnstat ] && /etc/rc.d/rc.vnstat start diff --git a/sample-rc.d/rc.local_shutdown b/sample-rc.d/rc.local_shutdown index 6007a93..cc2571b 100755 --- a/sample-rc.d/rc.local_shutdown +++ b/sample-rc.d/rc.local_shutdown @@ -63,6 +63,9 @@ grep "^seeder:" /etc/passwd >/dev/null 2>&1 && { # Stop the vnstat daemon. [ -x /etc/rc.d/rc.vnstat ] && /etc/rc.d/rc.vnstat stop +# Stop GlusterFS daemon. +[ -x /etc/rc.d/rc.glusterd ] && /etc/rc.d/rc.glusterd stop + # Stop the qemu guest additions agent. [ -x /etc/rc.d/rc.qemu-ga ] && /etc/rc.d/rc.qemu-ga stop