You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
265 B

#!/bin/sh
env
spawn-fcgi -s /var/run/fcgiwrap.socket -u nobody -g nogroup -P /var/run/fcgiwrap.pid /usr/bin/fcgiwrap > /var/log/fcgiwrap.log 2>&1
chmod 666 /var/run/fcgiwrap.socket
nginx -g 'daemon off;' > /var/log/nginx/access.log 2>/var/log/nginx/error.log