Code by Scott שאול בן ישוע
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sha'ul ben Yeshua
raspberrypi.monitor
Commits
b620898f
Commit
b620898f
authored
Apr 11, 2019
by
Sha'ul ben Yeshua
🎗
Browse files
Added systemd file to start java app instead of using rc.local
parent
4e57ab62
Changes
1
Hide whitespace changes
Inline
Side-by-side
raspberrypi_monitor.service
0 → 100644
View file @
b620898f
[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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment