Skip to content

Commit bf47945

Browse files
committed
Added one more prerequisite to switch-to-cosmovisor-how-to
1 parent 974cc47 commit bf47945

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deployment/scripts/switch_to_cosmovisor

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fi
7878
OLD_NODE_USER=$(cat /etc/systemd/system/dcld.service | sed -n "s~^User=\([a-z_][a-z0-9_-]*[$]\?\)$~\1~p")
7979

8080
if [[ "$NODE_USER" != "$OLD_NODE_USER" ]]; then
81-
echo "Error. Wrong current user: '${NODE_USER}'. Expected user: '${OLD_NODE_USER}', on behalf of whom 'dcld' service was previously run."
81+
echo "Error. Wrong current user: '${NODE_USER}'. Expected user: '${OLD_NODE_USER}', on behalf of whom 'dcld' service is launched."
8282
exit 1
8383
fi
8484

docs/advanced/switch-to-cosmovisor-how-to.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ of the store.
1414
**Pre-requisites:**
1515

1616
* `dcld` is launched as `dcld` systemd service.
17-
* `dcld` systemd service is currently in active state (i.e. running).
17+
* `dcld` service is currently in active state (i.e. running).
18+
* The current user is the user on behalf of whom `dcld` service is launched.
1819

1920
**Steps:**
2021

0 commit comments

Comments
 (0)