How it is hosted on Barista

  1. Repo in /var/www/VarIOT_Portal`

  2. Created VarIOT_Portal.service in /etc/systemd/system` directory

  3. Executed following

sudo systemctl daemon-reload
sudo systemctl enable VarIOT_Portal.service
sudo systemctl start VarIOT_Portal.service
  1. To check the status, use the following command

sudo systemctl status VarIOT_Portal.service

or

sudo journalctl -u VarIOT_Portal.service -f