-
Forum
-
EasyIoT server
-
General
-
Auto-starting EasyIOT server on RaspberryPi
Auto-starting EasyIOT server on RaspberryPi
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
8 years 9 months ago #2862
by yaronr
Hey everyone.
In case anyone wants to auto-start EasyIOT server on Debian Jessie, here's how I do it:
sudo nano /lib/systemd/system/easyiotserver.service
[Unit]
Description=Easy IOT Server
After=multi-user.target
[Service]
Type=idle
ExecStart=/usr/bin/mono /home/easyiot/EasyIoT.exe
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable easyiotserver
sudo journalctl -u easyiotserver -f
Take a look at the logs, and if there are no errors - just reboot
EasyIOT server should automatically load every time RaspberryPi starts.
Note, you may want to run EasyIOT on a specific user. Check systemd documentation for that, pretty easy.
Please Log in or Create an account to join the conversation.
-
Forum
-
EasyIoT server
-
General
-
Auto-starting EasyIOT server on RaspberryPi
Time to create page: 0.170 seconds