openethereum/scripts/parity.service

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
643 B
SYSTEMD
Raw Normal View History

2016-08-19 13:38:32 +02:00
[Unit]
2020-09-22 14:53:52 +02:00
Description=OpenEthereum Daemon
After=network.target
2016-08-19 13:38:32 +02:00
[Service]
# run as root, set base_path in config.toml
2020-09-22 14:53:52 +02:00
ExecStart=/usr/bin/openethereum --config /etc/openethereum/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/
# User=username
# Group=groupname
2020-09-22 14:53:52 +02:00
# ExecStart=/usr/bin/openethereum
Restart=on-failure
# Specifies which signal to use when killing a service. Defaults to SIGTERM.
2020-09-22 14:53:52 +02:00
# SIGHUP gives openethereum time to exit cleanly before SIGKILL (default 90s)
KillSignal=SIGHUP
2016-08-19 13:38:32 +02:00
[Install]
WantedBy=default.target