sQuarecoW / raspi-mon

Raspberry Pi Monitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raspi-mon

Raspberry Pi Monitor

Install as a service (Raspian/Debian based)

Create a new file

sudo nano /etc/systemd/system/raspi-mon.service

Add the following to the new file

[Unit]
Description=raspi-mon
After=syslog.target network-online.target

[Service]
Type=simple
User=pi
#EnvironmentFile=/etc/default/raspi-mon
ExecStart=/home/pi/raspi-mon/bin/raspi-mon.js
Restart=always
RestartSec=5
KillMode=process

[Install]
WantedBy=multi-user.target

Type the following commands to enable and then start the service

  1. sudo systemctl daemon-reload
  2. sudo systemctl enable raspi-mon
  3. sudo systemctl start raspi-mon

Afterwards you can watch the log with following command:

sudo journalctl -f -u raspi-mon

About

Raspberry Pi Monitor


Languages

Language:Vue 45.3%Language:CSS 28.5%Language:JavaScript 18.0%Language:HTML 8.2%