-
Notifications
You must be signed in to change notification settings - Fork 7
Systemd (autorun)
Thomas T. Jarløv edited this page Jan 6, 2020
·
2 revisions
If you are running NimWC on a server, and wants to ensure, that NimWC is started after reboot, you can use systemd
.
sudo nano /lib/systemd/system/nimwc.service
In the devops
-folder you can find a ready-to-deploy service file. You need to edit the paths e.g. to fit your system.
Insert the data into the service file.
sudo systemctl enable nimwc
sudo systemctl start nimwc
sudo systemctl status nimwc
sudo systemctl status nimwc
# or log
sudo journalctl -u nimwc
# or log for last 10 minutes
sudo journalctl -u nimwc --since "10 minutes ago"