diff -urN smeserver-phpsysinfo-3.2.3.old/createlinks smeserver-phpsysinfo-3.2.3/createlinks --- smeserver-phpsysinfo-3.2.3.old/createlinks 2015-09-22 07:07:37.000000000 +0100 +++ smeserver-phpsysinfo-3.2.3/createlinks 2021-04-07 19:25:06.069469342 +0100 @@ -1,6 +1,25 @@ #! /usr/bin/perl -w - use esmith::Build::CreateLinks qw(:all); +# our event specific for updating with yum without reboot +$event = 'smeserver-phpsysinfo-update'; +#add here the path to your templates needed to expand +#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event +foreach my $file (qw( + /etc/systemd/system-preset/49-koozali.preset + /etc/httpd/conf/httpd.conf +)) +{ + templates2events( $file, $event ); +} +#action needed in case we have a systemd unit +event_link('systemd-default', $event, '10'); +event_link('systemd-reload', $event, '50'); +#action specific to this package +#event_link('action', $event, '30'); +#services we need to restart +safe_symlink('restart',"root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); +#and Server Manager panel link +#panel_link('somefunction', 'manager'); # Links for the panel panel_link("phpsysinfo", "manager"); diff -urN smeserver-phpsysinfo-3.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias smeserver-phpsysinfo-3.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias --- smeserver-phpsysinfo-3.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias 2015-09-22 07:07:37.000000000 +0100 +++ smeserver-phpsysinfo-3.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias 2021-04-07 19:20:28.273903527 +0100 @@ -25,7 +25,11 @@ require user admin Satisfy all AddType application/x-httpd-php .php .php3 - php_flag magic_quotes_gpc on - php_flag track_vars on + + SetHandler "proxy:unix:/var/run/php-fpm/php.sock|fcgi://localhost" + + + #php_flag magic_quotes_gpc on + #php_flag track_vars on