]> gitweb.fluxo.info Git - hydra.git/commitdiff
TODO update, chown ikiwikis
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 9 Mar 2014 15:43:30 +0000 (12:43 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 9 Mar 2014 15:43:30 +0000 (12:43 -0300)
TODO.md
share/hydractl/backup-restore-site

diff --git a/TODO.md b/TODO.md
index 0d4933affe37586d758262a9ee63abe8d67f1a68..56c7fc12112418562bdb7d5179634ffca8f22a80 100644 (file)
--- a/TODO.md
+++ b/TODO.md
@@ -11,3 +11,6 @@ Hydractl
 
   - provision: config parser using a custom function with `include` directive, avoiding `source`.
   - puppet-setup-stored: configure storeconfigs database.
+  - site backup, copy and restoration: include home folder when available?
+  - backup-restore-user and backup-restore-users.
+  - hydractl {backup,restore}-site {debian,wiki}.
index 064e8e3966774bba5ea5e451a6a7a3327cd3f6c1..4224f45271648951c92651164bd424a41507dd3d 100755 (executable)
@@ -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