Skip to content
Ken Robertson edited this page Sep 30, 2011 · 1 revision

Running The Server

Running the server can be as simple as running metis-server, however there may be a few configuration parameters worth passing to it.

Help Output

Usage: metis-server [options]
Ruby options:
  -d, --debug              set debugging flags (set $DEBUG to true)
  -w, --warn               turn warnings on for your script
  -I, --include PATH       specify $LOAD_PATH (may be used more than once)
  -r, --require LIBRARY    require the library, before executing your script
metis-server options:
  -c, --config-file FILE   Config file
  -D, --daemonize          Run daemonized in the background
  -p, --pid-file FILE      Pid file
  -l, --log-file FILE      Log file
Common options:
      --help               Show this message
  -v, --version            Show version

Tips

  • In order to have the process daemonize with -D or --daemonize, you must also specify a pid file with -p or --pid-file.

Example

A typical command line call would be:

metis-server -c /mnt/metis-repo/config.rb -p /var/run/metis.pid -D
Clone this wiki locally