Initial parity cookbook
Supports installing multiple instances of Parity on the same machine, running on different ports Refs #15
This commit is contained in:
@@ -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 %>
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user