summaryrefslogtreecommitdiffstats
path: root/gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service
diff options
context:
space:
mode:
authorvenkata edara <redara@redhat.com>2017-07-31 16:17:49 +0530
committervenkata edara <redara@redhat.com>2017-07-31 16:28:01 +0530
commit438b216ffa44c8da6ba8cd5930862694a8e3a2e6 (patch)
tree99f32d10e60b28430c53fbe1c81ac219fa0f4657 /gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service
parent4757dd977452d15baae91d46a7895cd3d5b7863e (diff)
downloadgluster-438b216ffa44c8da6ba8cd5930862694a8e3a2e6.tar.gz
gluster-438b216ffa44c8da6ba8cd5930862694a8e3a2e6.tar.bz2
gluster-438b216ffa44c8da6ba8cd5930862694a8e3a2e6.tar.xz
gluster-438b216ffa44c8da6ba8cd5930862694a8e3a2e6.zip
Added S3 authentication changes
changed the proxy-server.conf to enable authentication and scripts to add user Signed-off-by: venkata edara <redara@redhat.com>
Diffstat (limited to 'gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service')
-rw-r--r--gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service b/gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service
new file mode 100644
index 0000000..ee4c8d7
--- /dev/null
+++ b/gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Swift Add User
+After=swift-object.service
+
+[Service]
+Type=oneshot
+EnvironmentFile=-/etc/sysconfig/swift-volumes
+ExecStart=/usr/local/bin/gluster-swift-add-user $GLUSTER_USER $GLUSTER_PASSWORD $GLUSTER_VOLUMES
+
+[Install]
+WantedBy=multi-user.target