summaryrefslogtreecommitdiffstats
path: root/gluster-s3object/CentOS/docker-gluster-s3/gluster-swift-add-user
diff options
context:
space:
mode:
authorMohamed Ashiq <mliyazud@redhat.com>2017-08-16 14:31:44 +0530
committerGitHub <noreply@github.com>2017-08-16 14:31:44 +0530
commite34bc5c580905553e29faf9166dfb0e0a509150d (patch)
tree19e632cf8aabbe7fd268f7f8c435477684673b76 /gluster-s3object/CentOS/docker-gluster-s3/gluster-swift-add-user
parente3c1f46e048707e43f92bfc4a1a5981c378eace3 (diff)
parent2d70d736245a650b8e3e35c9bbecf7265f94aa60 (diff)
downloadgluster-e34bc5c580905553e29faf9166dfb0e0a509150d.tar.gz
gluster-e34bc5c580905553e29faf9166dfb0e0a509150d.tar.bz2
gluster-e34bc5c580905553e29faf9166dfb0e0a509150d.tar.xz
gluster-e34bc5c580905553e29faf9166dfb0e0a509150d.zip
Merge pull request #54 from SaravanaStorageNetwork/use_s3_account
Restart swift-proxy and swift-account service, After user adding
Diffstat (limited to 'gluster-s3object/CentOS/docker-gluster-s3/gluster-swift-add-user')
-rwxr-xr-xgluster-s3object/CentOS/docker-gluster-s3/gluster-swift-add-user2
1 files changed, 2 insertions, 0 deletions
diff --git a/gluster-s3object/CentOS/docker-gluster-s3/gluster-swift-add-user b/gluster-s3object/CentOS/docker-gluster-s3/gluster-swift-add-user
index 0b4262b..d465009 100755
--- a/gluster-s3object/CentOS/docker-gluster-s3/gluster-swift-add-user
+++ b/gluster-s3object/CentOS/docker-gluster-s3/gluster-swift-add-user
@@ -10,4 +10,6 @@ else
gswauth-prep -A http://0.0.0.0:8080/auth -K gswauthkey
gswauth-add-account -K gswauthkey $S3_ACCOUNT
gswauth-add-user -K gswauthkey -a $S3_ACCOUNT $S3_USER $S3_PASSWORD
+ systemctl restart swift-proxy.service
+ systemctl restart swift-account.service
fi