totallymike / ircnode

Extensible IRC bot written with node.js
https://github.com/totallymike/ircnode/wiki
MIT License
4 stars 2 forks source link

Running the bot as daemon #14

Closed sigv closed 12 years ago

sigv commented 12 years ago

Currently the bot must run in the foreground, but it should also be able to run in the background as a daemon.

sigv commented 12 years ago

Currently this has been pushed to branch daemon. The bot depends on daemon.node inside the configuration directory to run. If the file is missing, a notice is displayed to user saying to look at the configuration page at the wiki for instructions. When the branch is merged into master, the instructions will be added there.

The steps for installing daemon.node are as follows:

  1. git clone git://github.com/Slashed/daemon.node.git && cd daemon.node -- download source
  2. node-waf configure build -- build source
  3. cp build/Release/daemon.node ~/.ircnode/daemon.node -- copy compiled file
  4. cd .. && rm -rf daemon.node -- clean up
sigv commented 12 years ago

Closing as daemon support is delivered in master.