summaryrefslogtreecommitdiffstats
path: root/extras/systemd/glusterd-shd.service.in
blob: bd6933d0247eda867688d390b9c699b48a0ad1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=GlusterFS Self-Heal Daemon
After=network.target rpcbind.service
Before=network-online.target

[Service]
Type=forking
EnvironmentFile=@localstatedir@/lib/glusterd/glusterd.info
LimitNOFILE=65536
ExecStartPre=-/bin/pkill -f '^@prefix@/sbin/glusterfs.*gluster/glustershd'
ExecStart= @prefix@/sbin/glusterfs -s localhost --volfile-id gluster/glustershd -p @localstatedir@/lib/glusterd/glustershd/run/glustershd.pid -l /var/log/glusterfs/glustershd.log --xlator-option *replicate*.node-uuid=${UUID} -S @localstatedir@/lib/glusterd/glustershd/run/${UUID}.socket
PIDFile=@localstatedir@/lib/glusterd/glustershd/run/glustershd.pid
ExecStop=/bin/pkill -f '^@prefix@/sbin/glusterfs.*gluster/glustershd'
Restart=always

[Install]
WantedBy=multi-user.target