17 lines
582 B
Plaintext
17 lines
582 B
Plaintext
|
#! /usr/bin/perl -w
|
||
|
|
||
|
use esmith::Build::CreateLinks qw(:all);
|
||
|
|
||
|
foreach (qw(/etc/xinetd.conf)) {
|
||
|
templates2events($_, qw(remoteaccess-update bootstrap-console-save));
|
||
|
}
|
||
|
|
||
|
safe_symlink("reload", "root/etc/e-smith/events/remoteaccess-update/services2adjust/xinetd");
|
||
|
|
||
|
$event="smeserver-xinetd-update";
|
||
|
templates2events('/etc/xinetd.conf',$event);
|
||
|
safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/xinetd");
|
||
|
#systemd-specific action mandatory for this package-update event
|
||
|
event_link("systemd-reload", $event, "89");
|
||
|
event_link("systemd-default", $event, "88");
|