Auto-starting EasyIOT server on RaspberryPi

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
sudo 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.

Time to create page: 0.170 seconds

Forum latest

  • No posts to display.