https://bugs.contribs.org/show_bug.cgi?id=11320

--- Comment #1 from Brian Read <[email protected]> ---
Here is the updated createlinks contents:

#! /usr/bin/perl -w

use esmith::Build::CreateLinks qw(:all);

panel_link("ddclient", 'manager');

# our event specific for updating with yum without reboot
$event = "smeserver-ddclient-update";
foreach my $file (qw(/etc/systemd/system-preset/49-koozali.preset
/etc/ddclient/ddclient.conf /etc/ppp/ip-up.local))
{
    templates2events( $file, $event );
}
#action needed in case we have a systemd unit
event_link("systemd-default", $event, "10");
event_link("systemd-reload", $event, "50");
#action specific to this package
event_link("conf-timezone", $event, "30");
#services we need to restart
safe_symlink("restart",
"root/etc/e-smith/events/$event/services2adjust/ddclient");

#service_link_enhanced("ddclient", "S65", "7");

$event = 'domain-delete';
 safe_symlink("restart",
"root/etc/e-smith/events/$event/services2adjust/ddclient");
 templates2events("/etc/ddclient/ddclient.conf", $event);

$event = 'domain-modify';
 safe_symlink("restart",
"root/etc/e-smith/events/$event/services2adjust/ddclient");
 templates2events("/etc/ddclient/ddclient.conf", $event);

$event = 'post-upgrade';
 templates2events("/etc/ddclient.conf", $event);
 templates2events("/etc/ppp/ip-up.local", $event);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to