vpanel-stack/systemd/vhost-php-fpm-socket-helper.service

13 lines
291 B
SYSTEMD
Raw Normal View History

[Unit]
After=network.target local-fs.target
[Service]
Type=oneshot
# sleep to give time for php-fpm to start first
# testing showed 2 seconds enough, using 5 for exra buffer
ExecStartPre=sleep 5
ExecStart=/usr/local/sbin/vhost-php-fpm-socket-helper.sh
[Install]
WantedBy=multi-user.target