summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2020-12-19 17:15:43 +0100
committerGitHub <noreply@github.com>2020-12-19 17:15:43 +0100
commit1fdbeb9ce271e290fc18e063f76cafc550519a03 (patch)
treeb21b389c4c05193c6527f5489d8cadd6f400b208
parentb25a6cb0955ccef5205627ef4568dbd899c5ed31 (diff)
downloadwiki-1fdbeb9ce271e290fc18e063f76cafc550519a03.tar.gz
wiki-1fdbeb9ce271e290fc18e063f76cafc550519a03.tar.bz2
wiki-1fdbeb9ce271e290fc18e063f76cafc550519a03.zip
fix: startup script (#310)
-rw-r--r--docs/Install-with-AC-Dashboard.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/Install-with-AC-Dashboard.md b/docs/Install-with-AC-Dashboard.md
index ed03d9c..396d12f 100644
--- a/docs/Install-with-AC-Dashboard.md
+++ b/docs/Install-with-AC-Dashboard.md
@@ -194,8 +194,8 @@ You can automatically create the tmux sessions and execute the `authserver` and
#!/usr/bin/env bash
# CHANGE THESE WITH THE CORRECT PATHS
-authserver="/path/to/azerothcore-wotlk/env/dist/bin/authserver"
-worldserver="/path/to/azerothcore-wotlk/env/dist/bin/worldserver"
+authserver="/path/to/azerothcore-wotlk/acore.sh run-authserver"
+worldserver="/path/to/azerothcore-wotlk/acore.sh run-worldserver"
authserver_session="auth-session"
worldserver_session="world-session"
@@ -212,14 +212,14 @@ else
echo "Error when trying to create worldserver session: $worldserver_session"
fi
-if tmux send-keys -t $authserver_session $authserver C-m; then
+if tmux send-keys -t $authserver_session "$authserver" C-m; then
echo "Executed \"$authserver\" inside $authserver_session"
echo "You can attach to $authserver_session and check the result using \"tmux attach -t $authserver_session\""
else
echo "Error when executing \"$authserver\" inside $authserver_session"
fi
-if tmux send-keys -t $worldserver_session $worldserver C-m; then
+if tmux send-keys -t $worldserver_session "$worldserver" C-m; then
echo "Executed \"$worldserver\" inside $worldserver_session"
echo "You can attach to $worldserver_session and check the result using \"tmux attach -t $worldserver_session\""
else