* 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:
Jean-Philippe Pialasse 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 smeserver-roundcube-update
conf-roundcube conf-roundcube
roundcube-update 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/php81-php-fpm");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init"); 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("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/dovecot"); 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( foreach my $event (qw(
smeserver-roundcube-update smeserver-roundcube-update
conf-roundcube conf-roundcube
@ -72,6 +65,10 @@ foreach my $event (qw(
post-upgrade 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("qmail-update-user", $event, "20");
event_link("roundcube-conf", $event, "05"); event_link("roundcube-conf", $event, "05");
} }

View File

@ -1,6 +1,6 @@
%define name smeserver-roundcube %define name smeserver-roundcube
%define version 1.6 %define version 1.6
%define release 7 %define release 8
Summary: smserver rpm to setup roundcube, an IMAP mail client Summary: smserver rpm to setup roundcube, an IMAP mail client
Name: %{name} Name: %{name}
@ -85,6 +85,9 @@ fi
%attr(755,root,root) /usr/bin/rcplugin_update.sh %attr(755,root,root) /usr/bin/rcplugin_update.sh
%changelog %changelog
* Sun Mar 30 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-8.sme
- remove service handling from post-upgrade event [SME: 12977]
* Mon Feb 17 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-7.sme * Mon Feb 17 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-7.sme
- fix roundcube not accessible after install [SME: 12928] - fix roundcube not accessible after install [SME: 12928]
- avoid need to relog in case of reloading of configuration [SME: 12929] - avoid need to relog in case of reloading of configuration [SME: 12929]