Commit 9576ebb6 authored by Falko Timme's avatar Falko Timme

Changed PHP-FPM socket directory from /var/run/php5-fpm to /var/lib/php5-fpm...

Changed PHP-FPM socket directory from /var/run/php5-fpm to /var/lib/php5-fpm because /var/run is cleand up on reboot.
parent d81a4c42
......@@ -192,7 +192,7 @@ $conf['nginx']['php_fpm_init_script'] = 'php-fpm';
$conf['nginx']['php_fpm_ini_path'] = '/etc/php.ini';
$conf['nginx']['php_fpm_pool_dir'] = '/etc/php-fpm.d';
$conf['nginx']['php_fpm_start_port'] = 9010;
$conf['nginx']['php_fpm_socket_dir'] = '/var/run/php5-fpm';
$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
//* vlogger
$conf['vlogger']['config_dir'] = '/etc';
......
......@@ -192,7 +192,7 @@ $conf['nginx']['php_fpm_init_script'] = 'php-fpm';
$conf['nginx']['php_fpm_ini_path'] = '/etc/php.ini';
$conf['nginx']['php_fpm_pool_dir'] = '/etc/php-fpm.d';
$conf['nginx']['php_fpm_start_port'] = 9010;
$conf['nginx']['php_fpm_socket_dir'] = '/var/run/php5-fpm';
$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
//* vlogger
$conf['vlogger']['config_dir'] = '/etc';
......
......@@ -204,7 +204,7 @@ $conf['nginx']['php_fpm_init_script'] = 'php5-fpm';
$conf['nginx']['php_fpm_ini_path'] = '/etc/php5/fpm/php.ini';
$conf['nginx']['php_fpm_pool_dir'] = '/etc/php5/fpm/pool.d';
$conf['nginx']['php_fpm_start_port'] = 9010;
$conf['nginx']['php_fpm_socket_dir'] = '/var/run/php5-fpm';
$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
//*Ufw
$conf['ufw']['installed'] = false;
......
......@@ -204,7 +204,7 @@ $conf['nginx']['php_fpm_init_script'] = 'php5-fpm';
$conf['nginx']['php_fpm_ini_path'] = '/etc/php5/fpm/php.ini';
$conf['nginx']['php_fpm_pool_dir'] = '/etc/php5/fpm/pool.d';
$conf['nginx']['php_fpm_start_port'] = 9010;
$conf['nginx']['php_fpm_socket_dir'] = '/var/run/php5-fpm';
$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
//* OpenVZ
$conf['openvz']['installed'] = false;
......
......@@ -192,7 +192,7 @@ $conf['nginx']['php_fpm_init_script'] = 'php-fpm';
$conf['nginx']['php_fpm_ini_path'] = '/etc/php.ini';
$conf['nginx']['php_fpm_pool_dir'] = '/etc/php-fpm.d';
$conf['nginx']['php_fpm_start_port'] = 9010;
$conf['nginx']['php_fpm_socket_dir'] = '/var/run/php5-fpm';
$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
//* vlogger
$conf['vlogger']['config_dir'] = '/etc';
......
......@@ -208,7 +208,7 @@ $conf['nginx']['php_fpm_init_script'] = 'php5-fpm';
$conf['nginx']['php_fpm_ini_path'] = '/etc/php5/fpm/php.ini';
$conf['nginx']['php_fpm_pool_dir'] = '/etc/php5/fpm/pool.d';
$conf['nginx']['php_fpm_start_port'] = 9010;
$conf['nginx']['php_fpm_socket_dir'] = '/var/run/php5-fpm';
$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
//* vlogger
$conf['vlogger']['config_dir'] = '/etc/vlogger';
......
......@@ -192,7 +192,7 @@ $conf['nginx']['php_fpm_init_script'] = 'php-fpm';
$conf['nginx']['php_fpm_ini_path'] = '/etc/php5/fpm/php.ini';
$conf['nginx']['php_fpm_pool_dir'] = '/etc/php5/fpm';
$conf['nginx']['php_fpm_start_port'] = 9010;
$conf['nginx']['php_fpm_socket_dir'] = '/var/run/php5-fpm';
$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
//* vlogger
$conf['vlogger']['config_dir'] = '/etc';
......
......@@ -192,7 +192,7 @@ $conf['nginx']['php_fpm_init_script'] = 'php-fpm';
$conf['nginx']['php_fpm_ini_path'] = '/etc/php5/fpm/php.ini';
$conf['nginx']['php_fpm_pool_dir'] = '/etc/php5/fpm';
$conf['nginx']['php_fpm_start_port'] = 9010;
$conf['nginx']['php_fpm_socket_dir'] = '/var/run/php5-fpm';
$conf['nginx']['php_fpm_socket_dir'] = '/var/lib/php5-fpm';
//* vlogger
$conf['vlogger']['config_dir'] = '/etc';
......
......@@ -67,7 +67,7 @@ php_fpm_init_script=php5-fpm
php_fpm_ini_path=/etc/php5/fpm/php.ini
php_fpm_pool_dir=/etc/php5/fpm/pool.d
php_fpm_start_port=9010
php_fpm_socket_dir=/var/run/php5-fpm
php_fpm_socket_dir=/var/lib/php5-fpm
[dns]
bind_user=root
......
......@@ -6,4 +6,4 @@ do
mv $f/access.log $f/`date "+%Y%m%d"`-access.log &> /dev/null
touch $f/access.log &> /dev/null
done
/etc/init.d/nginx reload &> /dev/null
\ No newline at end of file
pkill -USR1 -u root nginx &> /dev/null
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment