* Sun Mar 30 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-8.sme

- remove service handling from post-upgrade event [SME: 12977]
This commit is contained in:
2025-03-30 23:20:31 -04:00
parent c53da784a1
commit db97b6834f
2 changed files with 8 additions and 8 deletions

View File

@@ -49,21 +49,14 @@ for my $event (qw(
smeserver-roundcube-update
conf-roundcube
roundcube-update
post-install
post-upgrade
))
{
templates2events("/etc/opt/remi/php81/php-fpm.d/www.conf",$event);
templates2events("/etc/httpd/conf/httpd.conf", $event);
templates2events("/etc/dovecot/dovecot.conf", $event);
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/php81-php-fpm");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init");
safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/dovecot");
}
#We want to expand /etc/e-smith/templates-user/.qmail
foreach my $event (qw(
smeserver-roundcube-update
conf-roundcube
@@ -72,6 +65,10 @@ foreach my $event (qw(
post-upgrade
))
{
templates2events("/etc/opt/remi/php81/php-fpm.d/www.conf",$event);
templates2events("/etc/httpd/conf/httpd.conf", $event);
templates2events("/etc/dovecot/dovecot.conf", $event);
event_link("qmail-update-user", $event, "20");
event_link("roundcube-conf", $event, "05");
}