Skip to main content

Module service

Module service 

Source
Expand description

Systemd service installation and removal (Linux only).

The install_service function copies the binary and config to system directories, writes a systemd unit file, and enables/starts the service. uninstall_service reverses this, preserving the config directory.

Functionsยง

install_service
Install the proxy as a systemd service.
uninstall_service
Uninstall the systemd service.