"$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
}
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