-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating Ansible script to install Dash node.
- Loading branch information
1 parent
ee41c91
commit bf7ba1e
Showing
4 changed files
with
144 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Source: https://github.com/kxcd/Masternode-Zeus/blob/main/masternode_zeus.sh | ||
[Unit] | ||
Description=Dash Core Daemon | ||
Documentation=https://dash.org | ||
After=syslog.target network.target | ||
|
||
[Service] | ||
Type=forking | ||
User={{ service_user }} | ||
Group={{ service_user }} | ||
ExecStart={{ dashd_dir }}/dashd | ||
|
||
# Time that systemd gives a process to start before shooting it in the head | ||
TimeoutStartSec=10m | ||
|
||
# If ExecStop is not set, systemd sends a SIGTERM, which is \"okay\", just not ideal | ||
ExecStop={{ dashd_dir }}/dash-cli stop | ||
|
||
# Time that systemd gives a process to stop before shooting it in the head | ||
TimeoutStopSec=300 | ||
Restart=on-failure | ||
RestartSec=120 | ||
|
||
# Allow for three failures in five minutes before trying to spawn another instance | ||
StartLimitInterval=300 | ||
StartLimitBurst=3 | ||
|
||
# If the OOM kills this process, systemd should restart it. | ||
OOMPolicy=continue | ||
PrivateTmp=true | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
dashuser: dash | ||
dashuser_password: "" | ||
dashnode_testnet: false | ||
ssh_additional_pubkey: "" | ||
dashuser: | ||
dash_network: | ||
dashuser_password: | ||
dashnode_testnet: true | ||
ssh_additional_pubkey: | ||
ssh_disable_password_login: true | ||
ssh_disable_root_login: true | ||
ssh_add_local_id_rsa_pubkey: true | ||
ssh_add_local_id_rsa_pubkey: false | ||
enable_dashd_indexing: true | ||
is_masternode: true | ||
is_masternode: false | ||
swap_size: "4G" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters