summaryrefslogtreecommitdiffstats
path: root/extras/Ubuntu/glusterd.conf
blob: b987ffa132264f64b7a4ea0ad6f368cfd7d97b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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