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

13 lines
292 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/vpanel-php-fpm-socket-helper.sh
[Install]
WantedBy=multi-user.target