diff options
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | templates/ikiwiki.setup.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 65dc2cb..8a0048e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -41,7 +41,7 @@ class ikiwiki { case $ensure { 'present': { exec { "ikiwiki --setup /etc/ikiwiki/$name.setup": - user => root, + user => www-data, refreshonly => true, } diff --git a/templates/ikiwiki.setup.erb b/templates/ikiwiki.setup.erb index 2aa06cd..359932c 100644 --- a/templates/ikiwiki.setup.erb +++ b/templates/ikiwiki.setup.erb @@ -83,7 +83,7 @@ use IkiWiki::Setup::Standard { # post-update hook script, which may not be # what you want. wrapper => "/var/git/repositories/<%= name %>.git/hooks/post-update", - wrappermode => "06755", + wrappermode => "04550", }, #{ # # The monotone netsync hook. |