Hello, in this content we will explain how to start Localtonet automatically.
For Windows based system
To start localtonet automatically using NSSM (Non-Sucking Service Manager), follow these steps:
Download and install NSSM from the official website (https://nssm.cc/download). Alternatively, you can download it from here.
Open a command prompt and navigate to the directory where NSSM is installed.
Run the following command to create a new service for localtonet:
nssm install localtonet
C:\path\to\localtonet.exe
authtoken YOURTOKENHERE
Click the "Install Service" button to create the service.
To start the localtonet service, open the Services manager (by typing "services.msc" in the Start menu search box), find the "localtonet" service, and click "Start".
Alternatively, you can start the service from the command prompt by running:
nssm start localtonet
That's it! localtonet should now be running as a service, and will start automatically when your system boots up.
For linux based system
Go this Github link
/opt/localtonet/
localtonet.service
/lib/systemd/system/
systemctl enable localtonet.service
systemctl start localtonet.service
or just execute install.sh on Linux x64 platform.
curl -O https://raw.githubusercontent.com/localtonet/systemd-localtonet/master/install.sh
chmod +x install.sh
sudo ./install.sh