README.md in sidekiq-pool-1.0.2 vs README.md in sidekiq-pool-1.1.0
- old
+ new
@@ -14,10 +14,11 @@
Create a config file and specify it's path with the *p* command line option (the default is config/sidekiq-pool.yml)
Paste the following config and modify it to your needs:
```yaml
+:working_directory: /path/to/working/direcory # optional, needed if HUP reload is used with symlink
:workers:
-
:command: '-q default -q high'
:amount: 2
-
@@ -36,9 +37,14 @@
$ bundle exec sidekiq-pool -p config/pool_config.yml
## Signals
Signals `USR1`, `USR2` are forwarded to the children.
+
+Signal `HUP` to parent starts new children and then stops old.
+
+When using symlinked working directory `working_directory` configuration
+option must be used to pick up new code.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/laurynas/sidekiq-pool.