mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:41:31 +08:00
fb8d1f35a4
In dev mode sending USR2 to the unicorn master supervisor process will restart unicorn. This allows a simple script like this to restart unicorn in dev: ``` #!/usr/bin/env bash kill -s USR2 `ps aux | grep ruby\ bin\/unicorn | grep -v grep | awk '{print $2}'` ``` |
||
---|---|---|
.. | ||
docker | ||
bundle | ||
notify_file_change | ||
rails | ||
rake | ||
rspec | ||
turbo_rspec | ||
unicorn |