calavera / trinidad_daemon_extension

THIS IS NOT THE OFFICIAL REPO, SEE: http://github.com/trinidad/trinidad_daemon_extension
http://github.com/calavera/trinidad_daemon_extension
MIT License
4 stars 0 forks source link

Trinidad Daemon Extension

DESCRIPTION

Extension to run Trinidad server as a daemon.

[WARNING] This extension only works with Trinidad 0.8.3 or above.

INSTALLATION

jruby -S gem install trinidad_daemon_extension

USAGE

This extension can be enabled from the Trinidad's configuration file or from the command line. It uses a temporal directory to write the pid file but its route can be overrided.

The extension also allows to add new JVM arguments to run the daemon with. They just need to be added into the configuration file:

---
  extensions:
    daemon:
      jvm_args: '-XX:MaxPermSize=512m'

You can find further information on how to write your own extension in the wiki: http://wiki.github.com/calavera/trinidad/extensions

DEVELOPMENT

Copy the hooks into git-hooks directory to .git/hooks to make sure the jar file is updated when the java code is modified.

Copyright

Copyright (c) 2010 David Calavera. See LICENSE for details.