Administrate the DPF Services¶
The services of an DPF system can be administrated by DPF CLI using the dpf service
command.
Requirements¶
For the requirements for using DPF CLI, refer to DPF CLI.
Commands¶
Usage: dpf service [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
start [services...] start services
arguments:
services: the list of service names
use '-' for pipe
stop [options] [services...] stop services
arguments:
services: the list of service names
use '-' for pipe
status [services...] print status of services
arguments:
services: the list of service names
use '-' for pipe
help [command] display help for command
For all commands, pipe |
can be used with the output but needs to be escaped by -
, e. g. -|
.
help¶
help
displays the help for the command.
Usage: dpf service help [command]
start¶
start
starts the DPF services, either the whole DPF, a specific service or a list of services.
Usage: dpf service start [services...]
Arguments:
services
: list of service names, optional
Examples:
-
dpf service start
Starts all services belonging to Digital Process Factory.
-
dpf service start seal-dpf-jobcleaner
Starts the
seal-dpf-jobcleaner
service. -
dpf service start seal-dpf-jobcleaner seal-dpf-wuwait
Starts the services
seal-dpf-jobcleaner
andseal-dpf-wuwait
.
status¶
status
prints the status of the DPF services, either for the whole DPF, a specific service or a list of services.
Usage: dpf service status [services...]
Arguments:
services
: list of service names, optional
Examples:
-
dpf service status
Checks the status of the complete DPF system.
-
dpf service status seal-dpf-jobcleaner
Checks the status of
seal-dpf-jobcleaner
service. -
dpf service status seal-dpf-jobcleaner seal-dpf-wuwait
Checks the status of the services
seal-dpf-jobcleaner
andseal-dpf-wuwait
.
stop¶
stop
stops the DPF services, either the whole DPF, a specific service or a list of services.
Usage: dpf service stop [services...]
Arguments:
services
: list of service names, optional
Examples:
-
dpf service stop
Stops all services belonging to Digital Process Factory. The third-party components such as MongoDB, Consul and NATS will be still running.
-
dpf service stop seal-dpf-jobcleaner
Stops the
seal-dpf-jobcleaner
service. -
dpf service stop seal-dpf-jobcleaner seal-dpf-wuwait
Stops the services
seal-dpf-jobcleaner
andseal-dpf-wuwait
.