File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -452,6 +452,9 @@ if [[ "$verbosity" -ge 1 ]]; then
452
452
# echo -e "Parsed arguments:\n$parsed_args"
453
453
fi
454
454
455
+ sudo chown " $NODE_USER " ./dcld
456
+ sudo chmod u+x ./dcld
457
+
455
458
echo " Configuring CLI"
456
459
457
460
# Note. we consider that cli would connect to local node (default setting)
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ function wait_node_up {
41
41
echo -e " \n\tNode is responding"
42
42
}
43
43
44
+ # ## Preliminary checks
45
+
44
46
if [[ ! -d " /etc/systemd/system" ]]; then
45
47
echo " Error. Not a systemd system. This script supports systemd systems only."
46
48
exit 1
@@ -87,6 +89,8 @@ if ! systemctl is-active --quiet dcld; then
87
89
exit 1
88
90
fi
89
91
92
+ # ## Old stand-alone dcld removal
93
+
90
94
sudo systemctl stop dcld
91
95
echo " Stopped 'dcld' service"
92
96
@@ -98,6 +102,11 @@ echo "Removed 'dcld' service"
98
102
sudo rm -f " $BIN_DIR " /dcld
99
103
echo " Removed old stand-alone 'dcld' binary from '${BIN_DIR} '"
100
104
105
+ # ## Cosmovisor and new dcld installation
106
+
107
+ sudo chown " $NODE_USER " ./dcld
108
+ sudo chmod u+x ./dcld
109
+
101
110
sudo cp -f ./cosmovisor " $BIN_DIR " /
102
111
sudo chown " $NODE_USER " " $BIN_DIR " /cosmovisor
103
112
sudo chmod u+x " $BIN_DIR " /cosmovisor
You can’t perform that action at this time.
0 commit comments