0705ebdc869e9edd597104ee13e5e44cd47d4baf
config/puma_production.rb
| ... | ... | @@ -1,17 +1,17 @@ |
| 1 | 1 | #!/usr/bin/env puma |
| 2 | 2 | |
| 3 | -directory '/home/wiki/wiki' |
|
| 4 | -rackup "/home/wiki/wiki/config.ru" |
|
| 3 | +directory '/home/wiki/wiki/current' |
|
| 4 | +rackup "/home/wiki/wiki/current/config.ru" |
|
| 5 | 5 | environment 'production' |
| 6 | 6 | |
| 7 | 7 | tag '' |
| 8 | 8 | |
| 9 | -pidfile "/home/wiki/wiki/tmp/pids/puma.pid" |
|
| 10 | -state_path "/home/wiki/wiki/tmp/pids/puma.state" |
|
| 11 | -stdout_redirect '/home/wiki/wiki/log/puma_access.log', '/home/wiki/wiki/log/puma_error.log', true |
|
| 9 | +pidfile "/home/wiki/wiki/current/tmp/pids/puma.pid" |
|
| 10 | +state_path "/home/wiki/wiki/current/tmp/pids/puma.state" |
|
| 11 | +stdout_redirect '/home/wiki/current/wiki/log/puma_access.log', '/home/wiki/wiki/current/log/puma_error.log', true |
|
| 12 | 12 | |
| 13 | 13 | threads 30,300 |
| 14 | -bind 'unix:///home/wiki/wiki/tmp/sockets/puma.sock' |
|
| 14 | +bind 'unix:///home/wiki/wiki/current/tmp/sockets/puma.sock' |
|
| 15 | 15 | |
| 16 | 16 | workers 0 |
| 17 | 17 | restart_command 'bundle exec puma' |