Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Updated systemd files for linux (Resolves #6592) #6598

Merged
merged 1 commit into from
Oct 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions scripts/parity.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,18 @@ Description=Parity Daemon
After=network.target

[Service]
EnvironmentFile=-%h/.parity/parity.conf
ExecStart=/usr/bin/parity $ARGS
# 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
# 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
Expand Down