[Crossfire-wiki] [Crossfire DokuWiki] page changed: server:hosting

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Sep 28 04:20:14 CDT 2014


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2014/09/28 04:20
User        : saru
Edit Summary: added specific example of crossloop usage.

@@ -40,8 +40,9 @@
  After your server and network is setup and configured, there are additional steps to consider.
    * The files referenced below are in the //installroot///etc/crossfire directory - for example, if you used -prefix=/usr/games on the configure step, these would be in /usr/games/etc/crossfire.
    * Be sure to update the files in /usr/games/etc/crossfire not those found in your source files (if you follow [[http://wiki.metalforge.net/doku.php/crossfire_compile_guide|this guide]] for example,  /home/<username>/server.svn/):guide server.svn)
    * Some file changes will take effect immediately, while others require the server to restart before they take effect.
+ 
  
  
  
  ==== Server Settings ====
@@ -101,9 +102,13 @@
    * crossloop (//prefix///bin/crossloop) can be used to automatically restart crossfire if the program crashes.
      * It stores the core files in the current directory, so this should be run from the directory you want to store those core files.
      * crossloop.web is similar to crossloop, but also e-mails a stack trace and makes data available on the web.  To use, some variables at the top of the file need to be changed.  Note that make install will overwrite this file, so you will want to make a copy of it.
      * The script files assume that the core file will just be called **core**.  If the name is different, eg, core.//pid//, crossloop will not be able to properly save the core files (but the fact that the name is fairly unique does mean it is less likely they will be overwritten)
-     * To start, do 'cd somedir; nohup /path/to/crossloop &' - note that different shells may nohup by default - somedir is where you want all the core files to be.
+     * To start, do 'cd somedir; nohup /path/to/crossloop &' - note that different shells may nohup by default - somedir is where you want all the core files to be. For example:
+ 
+   $ cd crossloop_dump/; nohup /usr/games/crossfire/bin/crossloop &
+ 
+ 
      * This does not start the crossfire server in case of OS reboot.  Crossfire does not include a script that does this, but generally, it is not hard to write one - just make sure it su's to the appropriate user before running.
    * FIXME - core dumps from crashes 
    * FIXME - using Munin (http://munin-monitoring.org/) for monitoring and tacking server resources, more of a server host or administration benefit
    * Have an automated and remote backup of player files and unique map files in case of hardware failure, data corruption or accident


IP-Address  : 59.167.121.117
Old Revision: http://wiki.metalforge.net/doku.php/server:hosting?rev=1410417030
New Revision: http://wiki.metalforge.net/doku.php/server:hosting

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/



More information about the crossfire-wiki mailing list