aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-git
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/backup-restore-git')
-rwxr-xr-xshare/hydractl/backup-restore-git5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/hydractl/backup-restore-git b/share/hydractl/backup-restore-git
index f338993..29a4598 100755
--- a/share/hydractl/backup-restore-git
+++ b/share/hydractl/backup-restore-git
@@ -34,7 +34,7 @@ hydra_backup_environment_service
# TODO: directly at hydra_backup_environment_service
hydractl backup-site $SERVICE
-# Remove current folder
+# Remove current folder.
rm -rf $SERVICE_DIR
# Copy site folder from backup.
@@ -42,3 +42,6 @@ cp -a $RESTOREDIR/$SERVICE_DIR $SERVICE_DIR
# Fix permissions.
chown -R $SERVICE_USER.$SERVICE_GROUP $SERVICE_DIR
+
+# Kick config.
+su $SERVICE_USER -c "gl-setup"