| Path: | README |
| Last Update: | Wed Apr 20 18:28:44 MUT 2005 |
dctl is a small script for providing daemon functionnalty (start, stop, …) to non-daemon process or script, with automatic handling of pidfiles. dctl is mainly an extended rewrite of the daemons project for learning purpose. It is designed to be small and smart ("less-is-more" philosophy), generic, and well-tested.
Major features:
% dctl start -oout test/infinite.sh
% dctl status test/infinite.sh sleep
% dctl stop test/infinite.sh
% dctl
The latest version of dctl can be found at :
As dctl stands on cmdparse, you need to have cmdparse installed before.
Installation with RubyGems:
$ su # gem install dctl
Installation without RubyGems:
$ tar xfz dctl-x.x.x.tar.gz $ cd dctl-x.x.x $ su # ruby setup.rb
Please note that dctl test suite only succeeds if launched by a non-root user !
I’m thinking about dctl as a system service manager…
Written in 2005 by Bruno Carnazzi <bcarnazzi@gmail.com>
dctl is free software. You can redistribute it under the terms specified in the COPYING file of the Ruby distribution.