Skip to content

Instantly share code, notes, and snippets.

@D4rk4
Forked from AntoniosHadji/parity.service
Last active June 21, 2018 13:24
Show Gist options
  • Save D4rk4/478c59c921cd41ea768d941600d61057 to your computer and use it in GitHub Desktop.
Save D4rk4/478c59c921cd41ea768d941600d61057 to your computer and use it in GitHub Desktop.
systemd unit file for parity with clean exits
[Unit]
Description=Parity Daemon
After=network.target
[Service]
User=parity
Group=parity
ExecStart=/usr/bin/parity \
--fat-db on --db-compaction auto --base-path /srv/blockchain/parity/ --mode active \
--pruning archive --cache-size=512 --no-hardware-wallets --no-jsonrpc \
--no-ws --no-ipc --no-dapps --no-secretstore --ntp-servers=clock.ix.gs --whisper
KillSignal=SIGHUP
Restart=on-failure
TimeoutSec=120
Nice=19
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment