Code by Scott שאול בן ישוע
Commit 7d97f50c authored by Sha'ul ben Yeshua's avatar Sha'ul ben Yeshua 🎗
Browse files

change how to start the java app

parent b620898f
......@@ -22,16 +22,17 @@ cd /root/raspberrypi.monitor
mvn clean install
# Install on Pi to Start at Boot Up
# Install raspberrypi_monitor.service as a Systemd script to start at boot
sudo nano /etc/rc.local
```cp raspberrypi_monitor.service /etc/systemd/system/raspberrypi_monitor.service
systemctl daemon-reload
systemctl enable raspberrypi_monitor.service
systemctl start raspberrypi_monitor.service
Then add the line _BEFORE_ ```exit 0```
Then to make sure the app is running
java -jar /root/raspberrypi.monitor/target/raspberrypi.janipi-0.0.1-SNAPSHOT.jar &
```systemctl status raspberrypi_monitor.service
# Usage
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment