e-smith-cvm-unix-local/createlinks

17 lines
723 B
Plaintext
Raw Permalink Normal View History

#!/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");