Changes

Jump to navigation Jump to search
18 bytes removed ,  16:25, 1 April 2021
Line 544: Line 544:  
you will need to plan a createlinks addition :<syntaxhighlight lang="perl">
 
you will need to plan a createlinks addition :<syntaxhighlight lang="perl">
 
#smeserver-dovecot-update
 
#smeserver-dovecot-update
 +
my $event="smeserver-dovecot-update";
 
# services to adjust
 
# services to adjust
safe_symlink("restart", "root/etc/e-smith/events/smeserver-dovecot-update/services2adjust/dovecot");
+
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/dovecot");
safe_symlink("restart", "root/etc/e-smith/events/smeserver-dovecot-update/services2adjust/rsyslog");
+
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
    
# specific actions we want for this package
 
# specific actions we want for this package
event_link("adjust-dovecot", "smeserver-dovecot-update", "02");
+
event_link("adjust-dovecot", $event, "02");
    
# systemd-specific action mandatory for this package-update event
 
# systemd-specific action mandatory for this package-update event
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu