updated documentation

This commit is contained in:
2021-09-29 12:27:19 +02:00
parent 148742008a
commit 9c568a3455

View File

@@ -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.