Changes

From SME Server
Jump to navigationJump to search
Line 50: Line 50:     
===== event_link =====
 
===== event_link =====
This function creates a symlink from an action’s ordered location in an event directory to its action script.
+
This function creates a symlink from an action’s ordered location in an event directory to its action script. (actions are in /etc/e-smith/events/actions/)
    
ie.
 
ie.
Line 58: Line 58:  
  event_link("adjust-masq", $event, "30");
 
  event_link("adjust-masq", $event, "30");
 
  event_link("tug-restart", $event, "40");
 
  event_link("tug-restart", $event, "40");
 +
or
 +
foreach my $event (qw/webapps-update ipasserelle-update bootstrap-ldap-save/){
 +
  event_link("phplist-create-pseudo", "$event", "55");
 +
}
    
===== service_link_enhanced =====
 
===== service_link_enhanced =====

Navigation menu