summaryrefslogtreecommitdiffstats
path: root/CentOS/gluster-setup.service
diff options
context:
space:
mode:
authorhchiramm <hchiramm@redhat.com>2016-06-07 13:11:53 +0530
committerhchiramm <hchiramm@redhat.com>2016-06-07 13:14:08 +0530
commita37aa2f59a01c62111d3689f2695c607dee332af (patch)
treeb8769c8e4a65bb9d7ac7ae89a2dd980054651720 /CentOS/gluster-setup.service
parent37aea94c8d4cb24ef71f4098cf1c5ab2656b9be3 (diff)
downloadgluster-a37aa2f59a01c62111d3689f2695c607dee332af.tar.gz
gluster-a37aa2f59a01c62111d3689f2695c607dee332af.tar.bz2
gluster-a37aa2f59a01c62111d3689f2695c607dee332af.tar.xz
gluster-a37aa2f59a01c62111d3689f2695c607dee332af.zip
Updating Dockerfile with setup scripts
Signed-off-by: hchiramm <hchiramm@redhat.com>
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