Skip to content

Instantly share code, notes, and snippets.

@lukewalls
Created September 14, 2017 16:36
Show Gist options
  • Save lukewalls/12afa8942db64acc6b00e51cbbd96751 to your computer and use it in GitHub Desktop.
Save lukewalls/12afa8942db64acc6b00e51cbbd96751 to your computer and use it in GitHub Desktop.
IOTA Service
[Unit]
Description=IOTA full node
After=network.target
[Service]
WorkingDirectory=/opt/iota
ExecStart=/usr/bin/java -XX:+DisableAttachMechanism -jar /opt/iota/IRI.jar -c iota.ini
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=iota.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment