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

--- Comment #4 from Brian Read <[email protected]> ---
Added systemd stuff to createlinks:

#!/usr/bin/perl -w

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

# our event specific for updating with yum without reboot
$event = "smeserver-bridge-interface-update";
#add here the path to your templates needed to expand
#see the /etc/systemd/system-preset/49-koozali.preset should be present for
systemd integration on all you yum update event
foreach my $file (qw(
                /etc/systemd/system-preset/49-koozali.preset
))
{
    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("bridge-disable", "$event", "02");
event_link("bridge-enable", "$event", "98");
#services we need to restarta
#none?


# Start and stop links - SME9
#service_link_enhanced("bridge", "S80", "7");
#service_link_enhanced("bridge", "K01", "6");
#service_link_enhanced("bridge", "K01", "0");
#service_link_enhanced("bridge", "K01", "1");

foreach my $event (qw/console-save bootstrap-console-save/){
  event_link("bridge-disable", "$event", "02");
  event_link("bridge-enable", "$event", "98");
}

-- 
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