summaryrefslogtreecommitdiffstats
path: root/gluster-s3object/CentOS/docker-gluster-s3
diff options
context:
space:
mode:
authorSaravanakumar Arumugam <sarumuga@redhat.com>2017-08-11 13:03:41 +0530
committerSaravanakumar Arumugam <sarumuga@redhat.com>2017-08-11 13:03:41 +0530
commit2d70d736245a650b8e3e35c9bbecf7265f94aa60 (patch)
tree19e632cf8aabbe7fd268f7f8c435477684673b76 /gluster-s3object/CentOS/docker-gluster-s3
parente3c1f46e048707e43f92bfc4a1a5981c378eace3 (diff)
downloadgluster-2d70d736245a650b8e3e35c9bbecf7265f94aa60.tar.gz
gluster-2d70d736245a650b8e3e35c9bbecf7265f94aa60.tar.bz2
gluster-2d70d736245a650b8e3e35c9bbecf7265f94aa60.tar.xz
gluster-2d70d736245a650b8e3e35c9bbecf7265f94aa60.zip
Restart swift-proxy and swift-account service, After adding the
user. Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com>
Diffstat (limited to 'gluster-s3object/CentOS/docker-gluster-s3')
-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