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:30:45 +0530
commitf8cde44e7c5a1a42a24e9993f4ebc088082a1deb (patch)
tree99f32d10e60b28430c53fbe1c81ac219fa0f4657 /gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service
parent4757dd977452d15baae91d46a7895cd3d5b7863e (diff)
downloadgluster-f8cde44e7c5a1a42a24e9993f4ebc088082a1deb.tar.gz
gluster-f8cde44e7c5a1a42a24e9993f4ebc088082a1deb.tar.bz2
gluster-f8cde44e7c5a1a42a24e9993f4ebc088082a1deb.tar.xz
gluster-f8cde44e7c5a1a42a24e9993f4ebc088082a1deb.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