Code by Scott שאול בן ישוע
raspberrypi_monitor.service 271 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
[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