summaryrefslogtreecommitdiffstats
path: root/CentOS/gluster-setup.service
diff options
context:
space:
mode:
Diffstat (limited to 'CentOS/gluster-setup.service')
-rw-r--r--CentOS/gluster-setup.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/CentOS/gluster-setup.service b/CentOS/gluster-setup.service
new file mode 100644
index 0000000..4cccd57
--- /dev/null
+++ b/CentOS/gluster-setup.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Configuring GlusterFS in container
+Before=rpcbind.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/gluster-setup.sh
+
+[Install]
+WantedBy=multi-user.target