Commit graph

53 commits

Author SHA1 Message Date
Ignacio R. Morelle
11c1976a3b Fix thread count setting for 1.9 wesnothd and add one for 1.12 2014-10-29 21:31:36 -03:00
Ignacio R. Morelle
d4fad10ab6 run_server: 30 threads for 1.10, not 1.9 2014-02-21 06:02:03 -03:00
Ignacio R. Morelle
0540b987c2 run_server: Use more threads for 1.9 (32), less threads for 1.8 (8) 2014-02-21 05:52:25 -03:00
Ignacio R. Morelle
7e7a32447e Update run_server script from production 2014-02-08 08:02:45 -03:00
Eric S. Raymond
7f85fa000c The git transition.
Most references to and dependencies on Subversion have been removed.
"+svn" is now "+dev". Files that can't be fixed yet have a FIXME-GIT
comment in them; most of these are in the website tests.
2013-03-26 10:44:47 -04:00
Gunter Labes
157c1d5c9f change the test port from 15001 to 14990 2009-11-09 20:18:28 +00:00
Gunter Labes
79f34fa53a added some more fatal exit codes 2009-07-13 19:55:39 +00:00
Gunter Labes
d8f56708b9 check for running jobs only 2009-06-08 20:03:30 +00:00
Gunter Labes
8c25099e3e various tweaks/fixes after testing 2009-05-27 20:52:32 +00:00
Gunter Labes
862bf66f20 pacify set -u 2009-05-26 16:56:35 +00:00
Gunter Labes
c4b9f374d7 check if the process died immediately...
...before moving symlinks, etc. to the new instance
2009-05-26 16:42:10 +00:00
Gunter Labes
6eedb15c65 made use of the readlink command 2009-05-23 22:24:45 +00:00
Gunter Labes
7c61088e82 removed some bashisms 2009-05-23 13:26:18 +00:00
Gunter Labes
55d9c688e1 consistently quote variables that may have spaces in them 2009-05-18 22:15:18 +00:00
Gunter Labes
77c53db3ae minor readability tweaks 2009-05-16 14:21:06 +00:00
Gunter Labes
bc01f2b041 typo fix 2009-04-15 07:44:44 +00:00
Gunter Labes
8d4b01ed68 first rotate the pid file then write the new PID to it 2009-04-14 20:36:39 +00:00
Gunter Labes
b5d8ed3f17 save the PID to a file for easy access elsewhere 2009-04-03 23:29:01 +00:00
Gunter Labes
af5e602af3 added support for 1.6 2009-03-14 02:38:08 +00:00
Gunter Labes
c55156384d running exit in a subshell is not what we want... 2009-01-04 23:36:59 +00:00
Gunter Labes
724569982d set threads to 0 to never destroy threads and fix logic errors 2009-01-04 22:45:11 +00:00
Gunter Labes
ab6b4f3a9b refactored with die() functions for better readability 2008-12-11 21:05:17 +00:00
Gunter Labes
f62e0366aa background wesnothd again.. 2008-09-01 12:27:13 +00:00
Gunter Labes
b053f464cc set a special port for the test mode 2008-09-01 12:19:10 +00:00
Gunter Labes
c41159b87e remove support for 1.2
simplify and add a test mode
2008-09-01 12:15:47 +00:00
Gunter Labes
dc3fb7b0e3 disable the banlist in favour of the new ban save file 2008-09-01 00:43:02 +00:00
Gunter Labes
ac432ae132 return to using sh after fixing the signals 2008-08-31 22:23:55 +00:00
Gunter Labes
a3a9ff258a correct syntax.. 2008-08-24 00:17:16 +00:00
Gunter Labes
a4c1a18d26 make the script also stop on error 98 (port in use)
some more quoting to make the script a bit more robust
2008-08-12 16:19:31 +00:00
Pauli Nieminen
7c7871b337 added expiration time to bans
fixed minor memory leak
2008-05-15 16:27:20 +00:00
Gunter Labes
4ded7bc6eb correct a test 2008-05-12 12:09:31 +00:00
Gunter Labes
de6130605f some tweaks.. 2008-05-11 10:16:14 +00:00
Pauli Nieminen
7c3b6f494b MP server start script working with gracefull server restart 2008-05-09 08:15:41 +00:00
Gunter Labes
5bbb0afe2f go back to using sed to find the build dir, seems more reliable after all 2008-04-27 01:08:49 +00:00
Gunter Labes
7fa4661094 send error messages to STDERR
get the server port from the redirect.cfg (which needs to be changed anyway)
2008-04-26 18:10:52 +00:00
Gunter Labes
82cc3608c9 add ban reason support to the ban list 2008-04-25 22:38:31 +00:00
Gunter Labes
9f608b9838 add support for a banlist for bans across restarts 2008-04-17 13:52:25 +00:00
Gunter Labes
93e1e73e98 replace == with = in test comparisons...
...(fixes bug #11496: Unportable test(1) construct)
2008-04-15 02:51:29 +00:00
Gunter Labes
e52fd6fffc specify the ports directly in the script 2008-03-28 23:39:27 +00:00
Gunter Labes
48a8bbfd29 keep symlinks relative
rename gmon.out even if the build symlink changed
2008-03-28 22:28:29 +00:00
Gunter Labes
69c3bb8726 make most operations use full paths rather than relative ones
add the PID to log file symlinks so it's easy to match them with core files
2008-03-28 18:54:04 +00:00
Gunter Labes
0d7e3c9bc5 also make a symlink to the log(s) in the build dir 2008-03-28 14:32:21 +00:00
Gunter Labes
7241160454 rename gmon.out when the server terminates
add some error messages
2008-03-27 00:45:08 +00:00
Gunter Labes
ebaf455f55 use 4 threads now because of the sharded network worker threads...
...but keep 30 for 1.2
2008-03-11 17:16:07 +00:00
Gunter Labes
69915cd539 make it possible to provide additional parameters for wesnothd...
...on the commandline
2008-01-18 09:34:00 +00:00
Gunter Labes
85ad9d2a83 start the logger only for 1.2 now 2008-01-15 06:50:43 +00:00
Gunter Labes
1a18a8f9e2 kill the server until shut_down works properly 2008-01-04 13:13:37 +00:00
Gunter Labes
5305c9a344 silence an error message 2007-12-28 20:58:46 +00:00
Gunter Labes
c3f8688eaa compile with profiling
handle profiling logs

use the new shut down feature to properly shut the server down on
ctrl+c
2007-12-17 05:26:05 +00:00
Gunter Labes
f3b5bc0dcd make sure we really kill the server 2007-12-10 19:03:59 +00:00