summaryrefslogtreecommitdiffstats
path: root/extras/Ubuntu/glusterd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'extras/Ubuntu/glusterd.conf')
-rw-r--r--extras/Ubuntu/glusterd.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/extras/Ubuntu/glusterd.conf b/extras/Ubuntu/glusterd.conf
new file mode 100644
index 00000000000..b987ffa1322
--- /dev/null
+++ b/extras/Ubuntu/glusterd.conf
@@ -0,0 +1,17 @@
+# glusterd service upstart job
+#
+# Author: Louis Zuckerman <me@louiszuckerman.com>
+
+description "GlusterFS Management Daemon"
+
+start on (local-filesystems and net-device-up IFACE=lo and net-device-up IFACE=eth0) or (mounting TYPE=glusterfs)
+stop on runlevel [016]
+
+respawn
+
+exec /usr/sbin/glusterd -N -p /var/run/glusterd.pid
+
+post-start script
+ sleep 1
+end script
+