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