Skip to content

Instantly share code, notes, and snippets.

@kaustavdm
Created June 20, 2013 19:27
Show Gist options
  • Save kaustavdm/5825817 to your computer and use it in GitHub Desktop.
Save kaustavdm/5825817 to your computer and use it in GitHub Desktop.
Systemd file for php-fpm 5.3 on Arch Linux
[Unit]
Description=The PHP 5.3 FastCGI Process Manager
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/run/php-fpm/php-fpm5.3.pid
PrivateTmp=true
ExecStart=/usr/bin/php-fpm5.3 --pid /run/php-fpm/php-fpm5.3.pid
ExecReload=/bin/kill -USR2 $MAINPID
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment