Systemd Management
EdgePeak runs as a systemd service hpcd
. You can interact with it using standard systemctl commands:
-
systemctl status hpcd
: view status of hpcd service -
systemctl reload hpcd
: reload hpcd service -
systemctl restart hpcd
: restart hpcd service -
systemctl start/stop hpcd
: start/stop the hpcd service -
systemctl enable/disable hpcd
: enable/disable the hpcd service (so that it loads automatically at next reboot, or not)
IMPORTANT
Whenever changing the configuration,
reload
is the preferred action. Reload perform a live replacement of the configuration without disrupting existing connections, ongoing requests nor impacting the ram cache. Ongoing requests are processed with the existing configuration, and new requests immediately adopt the new configuration, even for existing TCP connections.
If needed,restart
performs a full process restart and disrupt any existing connections and ongoing requests. In addition, restart cleanup internal state including the ram cache (cache on SSD is preserved). Restart is only required when upgrading the binary, or for very few selects settings such as listen endpoints, and cache size configurations.
Updated 12 days ago