summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/files
diff options
context:
space:
mode:
Diffstat (limited to 'roles/glusterfs/files')
-rw-r--r--roles/glusterfs/files/glusterblock-link.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/glusterfs/files/glusterblock-link.service b/roles/glusterfs/files/glusterblock-link.service
new file mode 100644
index 0000000..9aecd40
--- /dev/null
+++ b/roles/glusterfs/files/glusterblock-link.service
@@ -0,0 +1,8 @@
+[Unit]
+After=origin-node.service
+
+[Service]
+ExecStart=/usr/bin/ln -sf /run/glusterd/gluster-blockd.socket /run/gluster-blockd.socket
+
+[Install]
+WantedBy=multi-user.target