summaryrefslogtreecommitdiffstats
path: root/extras/Ubuntu/mounting-glusterfs.conf
diff options
context:
space:
mode:
Diffstat (limited to 'extras/Ubuntu/mounting-glusterfs.conf')
-rw-r--r--extras/Ubuntu/mounting-glusterfs.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/Ubuntu/mounting-glusterfs.conf b/extras/Ubuntu/mounting-glusterfs.conf
new file mode 100644
index 00000000000..3c59c0f635e
--- /dev/null
+++ b/extras/Ubuntu/mounting-glusterfs.conf
@@ -0,0 +1,7 @@
+author "Louis Zuckerman <me@louiszuckerman.com>"
+description "Block the mounting event for glusterfs filesystems until glusterd is running"
+
+start on mounting TYPE=glusterfs
+task
+exec start wait-for-state WAIT_FOR=glusterd WAITER=mounting-glusterfs
+