Changes

From SME Server
Jump to navigationJump to search
240 bytes added ,  21:53, 18 July 2016
Line 210: Line 210:     
           serviceControl( NAME=>’httpd-e-smith’, ACTION=>’reload’ );
 
           serviceControl( NAME=>’httpd-e-smith’, ACTION=>’reload’ );
 +
 +
or another example in /etc/e-smith/events/actions/ldap-delete-dumps
 +
 +
if($ldap and $ldap->prop('status') eq 'enabled')
 +
  {
 +
    esmith::util::serviceControl(
 +
      NAME => 'ldap',
 +
      ACTION => 'stop',
 +
      BACKGROUND => 'false')
 +
  }
    
==== NOTES: ====
 
==== NOTES: ====

Navigation menu