service: add support for --network flag

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-06-28 18:42:26 +02:00
parent bb41fcf6ee
commit 8040eec9a1
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ nimbus_fluffy_user: 'nimbus'
nimbus_fluffy_group: 'staff' nimbus_fluffy_group: 'staff'
# General # General
nimbus_fluffy_network: 'mainnet' # or testnet0
nimbus_fluffy_log_level: 'INFO' # TRACE DEBUG INFO NOTICE WARN ERROR FATAL NONE nimbus_fluffy_log_level: 'INFO' # TRACE DEBUG INFO NOTICE WARN ERROR FATAL NONE
nimbus_fluffy_bootstrap_nodes: [] nimbus_fluffy_bootstrap_nodes: []
#nimbus_fluffy_netkey: ~ #nimbus_fluffy_netkey: ~

View File

@ -15,6 +15,7 @@ Restart=on-failure
ExecStart={{ nimbus_fluffy_binary_path }} \ ExecStart={{ nimbus_fluffy_binary_path }} \
--log-level={{ nimbus_fluffy_log_level }} \ --log-level={{ nimbus_fluffy_log_level }} \
--data-dir={{ nimbus_fluffy_data_path }} \ --data-dir={{ nimbus_fluffy_data_path }} \
--network={{ nimbus_fluffy_network }} \
--netkey-file={{ nimbus_fluffy_netkey_path }} \ --netkey-file={{ nimbus_fluffy_netkey_path }} \
{% if nimbus_fluffy_bootstrap_nodes|length > 0 %} {% if nimbus_fluffy_bootstrap_nodes|length > 0 %}
--bootstrap-file={{ nimbus_fluffy_bootstrap_path }} \ --bootstrap-file={{ nimbus_fluffy_bootstrap_path }} \