Skip to content

Instantly share code, notes, and snippets.

@Mezzle
Created September 16, 2014 14:04
Show Gist options
  • Save Mezzle/4cdf034abceda1f93882 to your computer and use it in GitHub Desktop.
Save Mezzle/4cdf034abceda1f93882 to your computer and use it in GitHub Desktop.
# php5-fpm - The PHP FastCGI Process Manager
description "The PHP FastCGI Process Manager"
author "Ondřej Surý <ondrej@debian.org>"
start on runlevel [2345]
stop on runlevel [016]
# you can uncomment this with recent upstart
# reload signal USR2
pre-start exec /usr/lib/php5/php5-fpm-checkconf
respawn
exec /usr/sbin/php5-fpm --nodaemonize --fpm-config /etc/php5/fpm/php-fpm.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment