Skip to main content

Node Service Commands

For both MacOS and Linux, commands for operating your node have been stubbed into qclient for ease of use.

tip

For MacOS, the service uses the native Launchd service.

For Linux, Systemd is used.

This will detect which operating system and use the relevant commands.

Commands

To start the node:

Start

qclient node service start

Status

To get the current status of the node:

qclient node service status

Stop

To stop the node gracefully,

qclient node service stop

Restart

To restart the node:

qclient node service restart

Reload

If there are any config changes, you must reload the service (should be rare that this happens).

qclient node service reload

Enable

To enable to service to start the node on server restarts:

qclient node service enable

Disable

To disable node startup on restarts:

qclient node service disable

Update

When new updates of qclient come out, there may be changes to the service file for optimization, but by default, this will not automatically replace your existing service file (the changes will not take effect).

To update the service file to the latest version:

qclient node service update

Uninstall

If you wish to remove the standard service install:

qclient node service uninstall