2023-07-12 09:50:15 +02:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
|
|
|
|
# make cvm unix start always
|
|
|
|
safe_symlink("../cvm-unix.service", "root/usr/lib/systemd/system/sme-server.target.wants/cvm-unix.service");
|
|
|
|
|
2024-04-04 16:11:56 +02:00
|
|
|
# event smeserver-cvm-unix-local-update
|
|
|
|
my $event="smeserver-cvm-unix-local-update";
|
2023-07-12 09:50:15 +02:00
|
|
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/cvm-unix");
|
|
|
|
# systemd-specific action mandatory for this package-update event
|
|
|
|
event_link("systemd-reload", $event, "89");
|
|
|
|
event_link("systemd-default", $event, "88");
|
|
|
|
templates2events("/etc/systemd/system-preset/49-koozali.preset",$event);
|
|
|
|
templates2events("/etc/rsyslog.conf",$event);
|
|
|
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
|