mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Clean up some old, possibly stale, files when restarting php-fpm
This commit is contained in:
parent
e0c1bfd742
commit
e5a67d33db
@ -8,6 +8,8 @@ sleep 2
|
||||
# /usr/local/etc/php.ini and /usr/local/lib/php.ini
|
||||
/etc/rc.conf_mount_rw
|
||||
/etc/rc.php_ini_setup 2>/tmp/php_errors.txt
|
||||
/bin/rm -f /var/run/php-fpm.pid 2>/dev/null
|
||||
/bin/rm -f /var/run/php-fpm.socket 2>/dev/null
|
||||
/etc/rc.conf_mount_ro
|
||||
echo ">>> Restarting php-fpm" | /usr/bin/logger -p daemon.info -i -t rc.php-fpm_restart
|
||||
echo ">>> Starting php-fpm"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user