README.markdown in daemons-rails-1.2.0 vs README.markdown in daemons-rails-1.2.1
- old
+ new
@@ -17,17 +17,18 @@
## CONTROL ##
Individual control script:
./lib/daemons/<name>_ctl [start|stop|restart|status]
- rake daemon:<name>[:(start|stop|status)]
+ rake daemon:<name>[:(start|stop|restart|status)]
Examples:
rake daemon:test - runs lib/daemons/test.rb not daemonized
rake daemon:test:start - start daemon using lib/daemons/test_ctl start
rake daemon:test:stop - stop daemon using lib/daemons/test_ctl stop
+ rake daemon:test:restart - restart daemon using lib/daemons/test_ctl restart
rake daemon:test:status - show running status for daemon using lib/daemons/test_ctl status
App-wide control script:
./lib/daemons/daemons [start|stop|restart|status]
@@ -77,11 +78,17 @@
and same set of methods. Effectively, *Daemons::Rails::Monitoring* just delegates all method calls to *Daemons::Rails::Monitoring.default* initialized with configured daemons path.
## CHANGES ##
+* 1.2.1 - add `rake daemon:<name>:restart` command
* 1.2.0 - development dependency on Rails bumped to support Rails 4 (dmilisic). Removed direct dependency on Daemons gem from generated files (in preparation for more daemonization providers)
* 1.1.2 - fix script template to load environment within Rails.root directory. It takes no effect on already generated scripts.
* 1.1.1 - fix dependencies, clean-up specs
* 1.1.0 - supported custom directory for daemons, support multiple daemons directories
* 1.0.0 - changed api for Daemons::Rails::Monitoring, fixed path in template for script, improved documentation, added RSpec
* 0.0.3 - added rake for running script without daemonization (rake daemon:\<name\>)
+
+## License
+
+You are free to choose kind of license to use:
+[MIT License](http://www.opensource.org/licenses/MIT) or [GPL-2 License](http://www.gnu.org/licenses/gpl-2.0.html)