Changes
Jump to navigation
Jump to search
← Older edit
Esmith::util
(view source)
Revision as of 21:53, 18 July 2016
240 bytes added
,
21:53, 18 July 2016
→EXAMPLE:
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: ====
Stephdl
Administrators
5,576
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version