User Tools

Site Tools


esmith:util

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
esmith:util [2015/05/22 10:23]
stephdl [NOTES:]
esmith:util [2019/06/05 21:48] (current)
Line 181: Line 181:
            );            );
  
-==== EXAMPLE: ==== +=== EXAMPLE: ====
            ​serviceControl( NAME=>​’httpd-e-smith’,​ ACTION=>​’reload’ );            ​serviceControl( NAME=>​’httpd-e-smith’,​ ACTION=>​’reload’ );
  
-====NOTES: ​====+===NOTES: ===
  
 The BACKGROUND parameter is optional and can be set to true if start/​stop/​restart/​etc. is to be done in the background (with backgroundCommand()) rather than synchronously. The BACKGROUND parameter is optional and can be set to true if start/​stop/​restart/​etc. is to be done in the background (with backgroundCommand()) rather than synchronously.
  
-===== CONVENTIONS: ​=====+=== CONVENTIONS:​ ===
  
 This command is the supported method for action scripts, blade handlers, etc., to start/​stop/​restart their services. Currently this is done via the rc7 symlinks, but this may change one day. Using this function gives us one location to change this behaviour if desired, instead of hunting all over every scrap of code. Please use it. This command is the supported method for action scripts, blade handlers, etc., to start/​stop/​restart their services. Currently this is done via the rc7 symlinks, but this may change one day. Using this function gives us one location to change this behaviour if desired, instead of hunting all over every scrap of code. Please use it.
  
-==== getLicenses() ====+====getLicenses() ====
  
 Return all available licenses In scalar context, returns one string combining all licenses In array context, returns an array of individual licenses Return all available licenses In scalar context, returns one string combining all licenses In array context, returns an array of individual licenses
esmith/util.1432282990.txt.gz · Last modified: 2019/06/05 21:48 (external edit)