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:
16
createlinks
Normal file
16
createlinks
Normal 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");
|
Reference in New Issue
Block a user