Skip to content

Instantly share code, notes, and snippets.

@jakoblorz
Last active December 6, 2017 17:58
Show Gist options
  • Save jakoblorz/85062a4b81faf3a6012ba2b826217074 to your computer and use it in GitHub Desktop.
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
[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
@jakoblorz
Copy link
Author

jakoblorz commented Dec 6, 2017

  1. Copy this file into your /etc/systemd/system directory
  2. Use nano oder vi or whatever to set the correct .jar-name and paths
  3. Invoke systemctl daemon-reload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment