2016-08-19 13:38:32 +02:00
|
|
|
[Unit]
|
2018-08-30 19:57:27 +02:00
|
|
|
Description=Parity Ethereum Daemon
|
2017-03-19 08:52:00 +01:00
|
|
|
After=network.target
|
2016-08-19 13:38:32 +02:00
|
|
|
|
|
|
|
[Service]
|
2017-09-26 23:53:05 +02:00
|
|
|
# run as root, set base_path in config.toml
|
|
|
|
ExecStart=/usr/bin/parity --config /etc/parity/config.toml
|
|
|
|
# To run as user, comment out above and uncomment below, fill in user and group
|
2017-11-29 11:12:03 +01:00
|
|
|
# picks up users default config.toml in $HOME/.local/share/io.parity.ethereum/
|
2017-09-26 23:53:05 +02:00
|
|
|
# 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
|
2016-08-19 13:38:32 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|
|
|
|
|
|
|
|
|