Modification : remorque. vers Grésille & ra. vers Kimsufi.
[lhc/ateliers.git] / etc / sv / nginx / local.sh
index dd3bd8e..0b014f7 100644 (file)
@@ -1,5 +1,5 @@
 "$tool"/local/runit-sv-configure php5-fpm '*'
-"$tool"/local/runit-sv-restart   php5-fpm
+"$tool"/local/runit-sv-start     php5-fpm
 "$tool"/local/apt-get-install nginx spawn-fcgi fcgiwrap
 "$tool"/local/insserv-remove  nginx
 "$tool"/local/insserv-remove fcgiwrap
@@ -86,7 +86,8 @@ for site in $(find "$tool"/etc/nginx/site.d \
                 }
                EOF
        (
-       test ! -r "$tool"/etc/nginx/site.d/"$site"/configure.sh ||
-       .         "$tool"/etc/nginx/site.d/"$site"/configure.sh || return 1
+       cd /
+       test ! -r "$tool"/etc/nginx/site.d/"$site"/local.sh ||
+       .         "$tool"/etc/nginx/site.d/"$site"/local.sh || return 1
        )
  done