summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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