From f8cde44e7c5a1a42a24e9993f4ebc088082a1deb Mon Sep 17 00:00:00 2001 From: venkata edara Date: Mon, 31 Jul 2017 16:17:49 +0530 Subject: Added S3 authentication changes changed the proxy-server.conf to enable authentication and scripts to add user Signed-off-by: venkata edara --- .../CentOS/docker-gluster-s3/swift-adduser.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service (limited to 'gluster-s3object/CentOS/docker-gluster-s3/swift-adduser.service') 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 -- cgit v1.2.3