22 lines
541 B
Plaintext
22 lines
541 B
Plaintext
|
#!/usr/bin/perl -w
|
||
|
|
||
|
use esmith::Build::CreateLinks qw(:all);
|
||
|
|
||
|
for my $event_conf (qw (smeserver-phppgadmin-update))
|
||
|
{
|
||
|
event_actions($event_conf,
|
||
|
'smeserver-phpPgAdmin-conf' => '02');
|
||
|
}
|
||
|
|
||
|
for my $event (qw(
|
||
|
smeserver-phppgadmin-update
|
||
|
|
||
|
))
|
||
|
{
|
||
|
templates2events("/etc/httpd/conf/httpd.conf", $event);
|
||
|
templates2events("/etc/phpPgAdmin/config.inc.php", $event);
|
||
|
templates2events("/etc/opt/remi/php74/php-fpm.d/www.conf", $event);
|
||
|
event_services($event, qw(httpd-e-smith reload php74-php-fpm restart));
|
||
|
}
|
||
|
|