Skip to content

Instantly share code, notes, and snippets.

Created Mar 20, 2015
What would you like to do?
adjust paths appropriately
# This file goes in something like
# /etc/init/service-name
start on runlevel [2345]
stop on runlevel [016]
exec sudo -u www /full/path/to/ >> /var/log/worker.log 2>&1
cd /web/
/usr/bin/php /web/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment