Changes

Jump to navigation Jump to search
743 bytes added ,  19:28, 5 May 2013
Line 548: Line 548:     
  sv t /service/httpd-e-smith
 
  sv t /service/httpd-e-smith
 +
 +
===Signalling events : Signal-event===
 +
 +
The signal-event program takes an event name as an argument, and executes all of the actions in that event, providing the event name as the first parameter and directing all output to the system log. It works by listing the entries in the event directory and executing them in sequence. So for example, the command:
 +
 +
signal-event console-save
 +
 +
will perform all the actions associated with the console-save event, which is defined by the contents of the /etc/e-smith/events/console-save/ directory. This is exactly what the console user interface does when you select save at the end of the console configuration wizard.
 +
 +
[[SME_Server:Documentation:Developers_Manual:Chapter7#Events_with_arguments ]]
 
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu