diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 12:43:30 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 12:43:30 -0300 |
commit | 2cde21fe99986ebd33cb1c1d5668e6d76a67b683 (patch) | |
tree | d55f32ac690b4eb58dedc39369b9d08b4fb3299f /share/hydractl/backup-restore-site | |
parent | 505f57c738136747f729ef7153b61e7c5d579f37 (diff) | |
download | hydra-2cde21fe99986ebd33cb1c1d5668e6d76a67b683.tar.gz hydra-2cde21fe99986ebd33cb1c1d5668e6d76a67b683.tar.bz2 |
TODO update, chown ikiwikis
Diffstat (limited to 'share/hydractl/backup-restore-site')
-rwxr-xr-x | share/hydractl/backup-restore-site | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site index 064e8e3..4224f45 100755 --- a/share/hydractl/backup-restore-site +++ b/share/hydractl/backup-restore-site @@ -162,6 +162,7 @@ if [ -e "$FOLDER/ikiwiki" ]; then site="`basename $file .setup`" git clone file:///var/git/repositories/$SITE /var/sites/$SITE/ikiwiki_src ikiwiki --setup $file --rebuild + chown -R $SITE_USER.$SITE_GROUP /var/sites/$SITE/ikiwiki* else echo "Either $file or git repository not found for $SITE ikiwiki instance" fi |