Skip to content

Instantly share code, notes, and snippets.

@kaymccormick
Created March 5, 2019 03:03
Show Gist options
  • Save kaymccormick/14655d3cbd9942b47035e2c741f1124e to your computer and use it in GitHub Desktop.
Save kaymccormick/14655d3cbd9942b47035e2c741f1124e to your computer and use it in GitHub Desktop.
[Unit]
Description=The PHP 7.3 FastCGI Process Manager
Documentation=man:php-fpm7.3(8)
After=network.target
[Service]
Type=simple
PIDFile=/opt/php-dev/var/run/php-fpm.pid
EnvironmentFile=/etc/default/php-dev-fpm
#ExecStart=/usr/bin/strace -o /tmp/out-trace -f /opt/php-dev/sbin/php-fpm --nodaemonize
ExecStart=/opt/php-dev/sbin/php-fpm --nodaemonize
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