Code by Scott שאול בן ישוע
raspberrypi_monitor.service 284 Bytes
Newer Older
1
2
3
4
5
[Unit]
Description=Manage raspberrypi monitor service

[Service]
WorkingDirectory=/var/log
Sha'ul ben Yeshua's avatar
Sha'ul ben Yeshua committed
6
ExecStart=/usr/bin/java -jar /root/raspberrypi.monitor/target/raspberrypi.janipi-0.0.1-SNAPSHOT.jar
7
8
9
10
11
12
13
User=root
Type=simple
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target