Skip to main content
Version: Next

Restarting Services

You can restart some of the system services from the commandline. Commands may differ between a control server and a hypervisor.

Control Server​

To restart the basic services on the control server (fpm,web,queue). You can run the following command.

vfcli-ctrl app:restart

If you would like to restart specific services, you can specify the required services using the --services argument.

The following services are available.

FlagDescription
fpmRestart PHP FPM.
webRestart the webserver.
wssRestart the websocket server.
vncRestart the VNC proxy. Not used once VNC is moved to the relay.
queueGracefully restart the queue workers.
queue-hardHard restart the queue workers.

For example, to restart the queue and websocket server.

vfcli-ctrl app:restart --services=queue,wss

Hypervisor​

Caution

Restarting services on a hypervisor may cause tasks to fail. It's advised to put the control server into maintenance mode before running any restart commands.

To restart the basic services on the hypervisor (fpm,system-fpm,web,queue). You can run the following command.

vfcli-hv app:restart

If you would like to restart specific services, you can specify the required services using the --services argument.

The following services are available.

FlagDescription
fpmRestart PHP FPM.
system-fpmRestart system PHP FPM.
webRestart the webserver.
queueGracefully restart the queue workers.
queue-hardHard restart the queue workers.

For example, to restart system-fpm and webserver.

vfcli-hv app:restart --services=system-fpm,web