Skip to content

Instantly share code, notes, and snippets.

@whysoserious
Created March 2, 2017 21:40
Show Gist options
  • Save whysoserious/53a5ab325581716837d72be606c28b6c to your computer and use it in GitHub Desktop.
Save whysoserious/53a5ab325581716837d72be606c28b6c to your computer and use it in GitHub Desktop.
[Unit]
Description=Parity Daemon
[Service]
Type=simple
ExecStart=/usr/bin/parity $ARGS
EnvironmentFile=%h/.parity/parity.conf
ExecStop=/bin/kill -SIGINT $MAINPID
KillMode=process
Restart=on-failure
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment