Last active
January 28, 2018 15:54
-
-
Save shigahi/e2a0eb5845dec1727dd886f4fcdda1e1 to your computer and use it in GitHub Desktop.
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=Parity Daemon | |
After=network.target | |
[Service] | |
# run as root, set base_path in config.toml | |
ExecStart=/usr/bin/parity --config /home/ubuntu/.local/share/io.parity.ethereum/config.toml --pruning fast --rpccorsdomain http://127.0.0.1:5001 | |
# To run as user, comment out above and uncomment below, fill in user and group | |
# picks up users default config.toml in $HOME/.local/share/io.parity.ethereum/ | |
# User=username | |
# Group=groupname | |
# ExecStart=/usr/bin/parity | |
Restart=on-failure | |
# Specifies which signal to use when killing a service. Defaults to SIGTERM. | |
# SIGHUP gives parity time to exit cleanly before SIGKILL (default 90s) | |
KillSignal=SIGHUP | |
[Install] | |
WantedBy=default.target | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment