Last active
December 6, 2017 17:58
-
-
Save jakoblorz/85062a4b81faf3a6012ba2b826217074 to your computer and use it in GitHub Desktop.
simple iri (iota) systemd service file to keep iri process running and start it when booting up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=IRI systemd daemon | |
[Service] | |
Restart=always | |
ExecStart=/usr/bin/java -jar /opt/iri/iri-1.4.1.2.jar -p 14265 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/etc/systemd/system
directorynano
odervi
or whatever to set the correct.jar
-name and pathssystemctl daemon-reload