Skip to content

Instantly share code, notes, and snippets.

@silfreed
Created March 2, 2015 00:08
Show Gist options
  • Save silfreed/9e7fdc3af8ee72e87fd2 to your computer and use it in GitHub Desktop.
Save silfreed/9e7fdc3af8ee72e87fd2 to your computer and use it in GitHub Desktop.
# /etc/systemd/system/php-fpm@.service
[Unit]
Description=Runs multiple php-fpm processes
After=syslog.target network.target
[Service]
PrivateTmp=true
Type=simple
ExecStart=/usr/sbin/php-fpm -F -y /etc/php-fpm/%i.conf
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment