diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-25 18:55:49 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-25 18:55:49 -0200 |
commit | c61a929c1e7107af9e5dc4de72bb02aed4f10d09 (patch) | |
tree | 3fe1905665360d601bee130b96aab49c6a96e678 /templates | |
parent | 0223176b485ab880858349623a7f6826c4fea527 (diff) | |
download | puppet-ikiwiki-c61a929c1e7107af9e5dc4de72bb02aed4f10d09.tar.gz puppet-ikiwiki-c61a929c1e7107af9e5dc4de72bb02aed4f10d09.tar.bz2 |
Trying new set of ownerships (2)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/deploy.sh.erb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/deploy.sh.erb b/templates/deploy.sh.erb index 5386729..aac3de7 100644 --- a/templates/deploy.sh.erb +++ b/templates/deploy.sh.erb @@ -5,8 +5,9 @@ INSTANCE="$2" BASE="<%= apache_sites_folder %>" SITE=$BASE/$NAME CONF="/etc/ikiwiki" -OWNER="gitosis" +WEB_OWNER="www-data" WEB_GROUP="www-data" +REPO_OWNER="www-data" REPO_GROUP="gitosis" REPO="/var/git/repositories/$NAME.git" @@ -39,5 +40,5 @@ touch $REPO/git-daemon-export-ok ikiwiki --setup /etc/ikiwiki/$NAME.setup # Set permissions -chown -R $OWNER.$WEB_GROUP $SITE/"$INSTANCE"_src $SITE/$INSTANCE -chown -R $OWNER.$REPO_GROUP $REPO +chown -R $WEB_OWNER.$WEB_GROUP $SITE/"$INSTANCE"_src $SITE/$INSTANCE +chown -R $REPO_OWNER.$REPO_GROUP $REPO |