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

Added systemd file to start java app instead of using rc.local

parent 4e57ab62
[Unit]
Description=Manage raspberrypi monitor service
[Service]
WorkingDirectory=/var/log
ExecStart=/usr/bin/java -jar /root/janipi/target/raspberrypi.janipi-0.0.1-SNAPSHOT.jar
User=root
Type=simple
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
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