initial commit of file from CVS for e-smith-cvm-unix-local on Wed 12 Jul 08:50:15 BST 2023

This commit is contained in:
Brian Read
2023-07-12 08:50:15 +01:00
parent f95fd48ea9
commit f32087538a
17 changed files with 280 additions and 2 deletions

16
createlinks Normal file
View File

@@ -0,0 +1,16 @@
#!/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");
# event e-smith-cvm-unix-local-update
my $event="e-smith-cvm-unix-local-update";
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");