Update e-smith-package-update to smeserver-package-update

This commit is contained in:
Brian Read 2024-04-04 15:12:31 +01:00
parent 1346480b74
commit 8cc230ea11

View File

@ -6,11 +6,11 @@ safe_symlink("proftpd", "root/var/service/ftp");
templates2events("/etc/logrotate.d/proftpd", qw(
bootstrap-console-save
e-smith-proftpd-update
smeserver-proftpd-update
));
templates2events("/etc/pam.d/ftp", qw(
bootstrap-console-save
e-smith-proftpd-update
smeserver-proftpd-update
));
templates2events("/etc/ftpusers", qw(
bootstrap-console-save
@ -19,7 +19,7 @@ templates2events("/etc/ftpusers", qw(
remoteaccess-update
password-modify
user-lock
e-smith-proftpd-update
smeserver-proftpd-update
));
templates2events("/etc/proftpd.conf", qw(
@ -37,7 +37,7 @@ templates2events("/etc/proftpd.conf", qw(
network-delete
remoteaccess-update
password-modify
e-smith-proftpd-update
smeserver-proftpd-update
ssl-update
));
@ -52,7 +52,7 @@ foreach my $event (qw(
network-create
remoteaccess-update
network-delete
e-smith-proftpd-update
smeserver-proftpd-update
))
{
templates2events("/var/service/ftp/peers/0", $event);
@ -68,7 +68,7 @@ foreach my $event (qw(
safe_symlink("restart", "root/etc/e-smith/events/ssl-update/services2adjust/ftp");
my $event = 'e-smith-proftpd-update';
my $event = 'smeserver-proftpd-update';
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ftp");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);