Difference between revisions of "Wiki/Server Administration"
From #openttdcoop wiki
(short how-to-update for our servers) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{obsolete}} | ||
+ | {{Merge |Server Administration}} | ||
+ | |||
Updating the PS or PZ is actually quite straight forward. You just need ssh access and then execute a short list of commands (mind to call screen so that things are communicated): | Updating the PS or PZ is actually quite straight forward. You just need ssh access and then execute a short list of commands (mind to call screen so that things are communicated): | ||
ssh <server> | ssh <server> | ||
Line 10: | Line 13: | ||
save | save | ||
exit | exit | ||
+ | |||
Restart the server: | Restart the server: | ||
− | . /autopilot.tcl load | tee -a logs/<psgnr> | + | . /autopilot.tcl load | tee -a logs/<psgnr> |
where <psgnr> is the number of the currently running or to-be-started game. | where <psgnr> is the number of the currently running or to-be-started game. |
Latest revision as of 04:53, 30 October 2014
|
It has been suggested that this article or section be merged with Server Administration. (Discuss) |
Updating the PS or PZ is actually quite straight forward. You just need ssh access and then execute a short list of commands (mind to call screen so that things are communicated):
ssh <server> screen -x cd <dir> ./update -w cp -Rf bundle/* autopilot
where <dir> = [ svn-public | svn-prozone ] and <server> the server's IP
Now change to the autopilot tab and close the server:
save exit
Restart the server:
. /autopilot.tcl load | tee -a logs/<psgnr>
where <psgnr> is the number of the currently running or to-be-started game.