diff --git a/createlinks b/createlinks index dffa1ef..b76c06e 100644 --- a/createlinks +++ b/createlinks @@ -23,9 +23,3 @@ foreach my $file qw( /etc/php-fpm.conf /etc/opt/remi/php71/php-fpm.d/shares.conf ){ templates2events($file, qw(webapps-update bootstrap-console-save)); } - -safe_symlink('/etc/e-smith/templates.metadata/etc/php-fpm.d/www.conf' , 'root/etc/e-smith/templates.metadata/etc/php-fpm.d/shares.conf'); -safe_symlink('/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/www.conf', 'root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/shares.conf'); -safe_symlink('/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/www.conf', 'root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/shares.conf'); -safe_symlink('/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/www.conf', 'root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/shares.conf'); - diff --git a/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/shares.conf b/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/shares.conf new file mode 100644 index 0000000..0efe011 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/shares.conf @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php-fpm.d/shares.conf" +MORE_DATA={ PHP_VERSION => 70 } diff --git a/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/shares.conf b/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/shares.conf new file mode 100644 index 0000000..701faf3 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/shares.conf @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php-fpm.d/shares.conf" +MORE_DATA={ PHP_VERSION => 71 } diff --git a/root/etc/e-smith/templates.metadata/etc/php-fpm.d/shares.conf b/root/etc/e-smith/templates.metadata/etc/php-fpm.d/shares.conf new file mode 100644 index 0000000..4a224c0 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/etc/php-fpm.d/shares.conf @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php-fpm.d/shares.conf" +MORE_DATA={ PHP_VERSION => '' } diff --git a/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/shares.conf b/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/shares.conf new file mode 100644 index 0000000..f4382e7 --- /dev/null +++ b/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/shares.conf @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php-fpm.d/www.conf" +MORE_DATA={ PHP_VERSION => 56 }