From 87b882dec1a6714d7a7edcfca2d3025c232c2ced Mon Sep 17 00:00:00 2001 From: Gabx Date: Fri, 19 Aug 2016 16:53:38 +0200 Subject: [PATCH] start parity with systemd --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f3a8a92bc..da2359b0f 100644 --- a/README.md +++ b/README.md @@ -84,9 +84,21 @@ $ cargo build --release This will produce an executable in the `./target/release` subdirectory. -To get started, just run +## Start parity +### manually +To start manually parity, just run ```bash $ ./target/release/parity ``` and parity will begin syncing the Ethereum blockchain. + +### systemd service file +To start parity as a regular user using systemd init: + +1. copy the ```parity/scripts/parity.service``` in your +systemd user directory (usually ```~/.config/systemd/user```). +2. to pass any argument to parity, write a ```~/.parity/prity.conf``` file this way: +```ARGS="ARG1 ARG2 ARG3"```. + + Example: ```ARGS=ui --geth --identity MyMachine"```.