Docs for all releases
Page History
...
The tool is used for management of System Services. It allows to correctly start, stop and perform other actions over various JeraSoft Billing Services such as RADIUS Server, SIP Server, Calculator, etc.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<APP_PATH>/bin/system/service <ACTION> [<service-name>] [<options>] |
The tool should be run under root or vcs user. The tool typically takes 2 arguments – action to perform and related system service. Actions prefixed with "all-*" do not require service name and operate over all services.
Action | Description |
---|
start | Start System Service Takes "--wait" |
option in order to wait and exit only when service finishes its execution. |
<action>
Action to perform, one of the following:
- start - start the service
- stop - stop the service
- restart - stop and then start the service
- reload - force config re-read without restart
- status - return current status of the tool
<service-name>
<action>
Action to perform, one of the following:
- start - start the service
- stop - stop the service
- restart - stop and then start the service
- reload - force config re-read without restart
- status - return current status of the tool
Additionally, you may pass the next options:
...
--path=<path>
...
--user=<user>
...
stop | Stop System Service |
restart | Stop and then start System Service |
reload | Send reload (HUP) signal to the System Service (forces reload of settings, connections, etc) |
status | Show current status of the System Service |
all-start | Start all required System Services (list of services varies depending on the role of current node in the cluster) |
all-stop | Stop all running System Services |
all-status | Show status of all System Services on the current node |
Usage Examples
...
Code Block | ||||
---|---|---|---|---|
| ||||
<VCS<APP_PATH>/bin/system/service restart bbradiusd restart |
Code Block | ||||
---|---|---|---|---|
| ||||
<VCS<APP_PATH>/bin/system/service start files_downloader start |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<APP<VCS_PATH>/bin/system/service bbsipd status | ||||||
Panel | ||||||
| ||||||
Attention The tool also complies with LSB Init Scripts standard. It allows analyzing exit code of each action in case of automated usage.all-start |
Cluster Manager
The tool is used to manage clusters. It allows to init the cluster, add and promote a slave to master, etc.
...