6 lines
209 B
Plaintext
6 lines
209 B
Plaintext
|
# Unicorn specific
|
||
|
w.pid_file = "<%= engine.directory + "/tmp/pids/unicorn.pid" %>"
|
||
|
w.stop = "kill -QUIT `cat #{w.pid_file}`"
|
||
|
w.restart = "kill -USR2 `cat #{w.pid_file}`"
|
||
|
w.behavior(:clean_pid_file)
|