Project

ok_gntpd

0.0
No commit activity in last 3 years
No release in over 3 years
An GNTPd which always return "OK".
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

>= 0
 Project Readme

OkGntpd

An GNTPd which always return "OK".

Installation

Add this line to your application's Gemfile:

gem 'ok_gntpd'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ok_gntpd

Usage

As non-daemon

Start GNTP server with:

$ ok_gntpd

Press Ctrl-C to stop it. You can specify port number with -p (default 23053).

As daemon

Start GNTP server with:

$ ok_gntpd -d

You can specify pid file with -P (default /var/run/ok_gntpd.pid).

Stop it with:

$ ok_gntpd -k -P /path/to/pid/file

Help!

$ ok_gntpd --help

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Acknowledgement

This code is originated from @snaka's post: http://d.hatena.ne.jp/snaka72/20090614/1244986772