Initial parity cookbook

Supports installing multiple instances of Parity on the same machine,
running on different ports

Refs #15
This commit is contained in:
Greg Karékinian
2017-05-02 17:43:02 +02:00
parent ccbf11a407
commit 2f8de91008
8 changed files with 202 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[parity]
chain = "<%= @chain %>"
base_path = "<%= @base_path %>"
[network]
port = <%= @network_port %>
[rpc]
# JSON-RPC over HTTP
port = <%= @json_rpc_port %>
[dapps]
# Dapps Server
port = <%= @dapps_port %>
[ui]
port = <%= @ui_port %>

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Parity Daemon (<%= @environment %>)
After=network.target
[Service]
ExecStart=/usr/bin/parity --config <%= @config_file %> $ARGS
User=parity
Group=parity
[Install]
WantedBy=default.target