updated documentation
This commit is contained in:
32
doc/dev.md
32
doc/dev.md
@@ -223,4 +223,36 @@ and is privileged.
|
||||
|
||||
### 6.2. Functions
|
||||
#### 6.2.1. exec_serv
|
||||
That function execute the given action to the given service. The service have
|
||||
to be the first parameter and the action, the second parameter. No more
|
||||
parameter will be acceted and an error will be triggered if there's any more
|
||||
than two.
|
||||
|
||||
The function returns the exit code of the service command.
|
||||
|
||||
#### 6.2.2. svc_start
|
||||
Start the services given in parmeters. You can give as many services you want.
|
||||
|
||||
That function relies on the previously documented exec_serv function.
|
||||
|
||||
#### 6.2.3. svc_reload
|
||||
Reload the configuration of the services given in parmeters. You can give as
|
||||
many services you want. Be careful using this as some services don't have that
|
||||
capability.
|
||||
|
||||
That function relies on the previously documented exec_serv function.
|
||||
|
||||
#### 6.2.2. svc_restart
|
||||
Restart the services given in parmeters. It consist generally in a stop
|
||||
immediately followed by a start. You can give as many services you want.
|
||||
|
||||
That function relies on the previously documented exec_serv function.
|
||||
|
||||
#### 6.2.3. svc_stop
|
||||
Stop the services given in parmeters. You can give as many services you want.
|
||||
|
||||
That function relies on the previously documented exec_serv function.
|
||||
|
||||
### 6.3. Other functionnalities
|
||||
That file don't profide any other things that the previously listed functions.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user