diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-11 17:36:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-11 17:36:25 -0300 |
commit | f71a89900ed557d5309bc84f5c5a6c7af4718f67 (patch) | |
tree | 96a6a134c9e9da26637a33f99bffeab78c75336e | |
parent | 347d7a6eaf0449c477047db1b225c0fc9ab88a72 (diff) | |
download | puppet-ikiwiki-f71a89900ed557d5309bc84f5c5a6c7af4718f67.tar.gz puppet-ikiwiki-f71a89900ed557d5309bc84f5c5a6c7af4718f67.tar.bz2 |
Run ikiwiki as regular user
-rw-r--r-- | templates/refresh.sh.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/refresh.sh.erb b/templates/refresh.sh.erb index 41b5296..d7b7502 100644 --- a/templates/refresh.sh.erb +++ b/templates/refresh.sh.erb @@ -27,7 +27,7 @@ if [ ! -d "$REPO" ]; then fi # Setup -ikiwiki --setup /etc/ikiwiki/$NAME.setup +su $WEB_OWNER -s /bin/bash -c "ikiwiki --setup /etc/ikiwiki/$NAME.setup" # Fix permissions chown -R $REPO_OWNER.$REPO_GROUP $REPO |