mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 04:45:33 +08:00

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}'` ```