Localtonet can run as a background service and start automatically when your system boots. The same CLI commands work across Windows, Linux, and macOS.
Use the built-in service command to install Localtonet as a system service:
sudo localtonet --install-service --authtoken <YOUR_TOKEN>
systemd
unit. - On macOS, this sets up a launchd
job. Administrative privileges (sudo
or “Run as Administrator”) are required.sudo localtonet --start-service --authtoken <YOUR_TOKEN>
sudo localtonet --stop-service --authtoken <YOUR_TOKEN>
sudo localtonet --status-service --authtoken <YOUR_TOKEN>
sudo localtonet --remove-service --authtoken <YOUR_TOKEN>
services.msc
→ find “Localtonet” → Status = “Running”systemctl status localtonet
launchctl list | grep localtonet
To update Localtonet and restart the service:
# stop old service
sudo localtonet --stop-service --authtoken <YOUR_TOKEN>
# replace with latest binary (via installer or manual download)
# start again
sudo localtonet --start-service --authtoken <YOUR_TOKEN>
— Localtonet Auto-Start Guide