|
@ -34,6 +34,31 @@ pidfile ENV.fetch('PIDFILE') { 'tmp/pids/server.pid' } |
|
|
# Allow puma to be restarted by `bin/rails restart` command. |
|
|
# Allow puma to be restarted by `bin/rails restart` command. |
|
|
plugin :tmp_restart |
|
|
plugin :tmp_restart |
|
|
|
|
|
|
|
|
# on_booted do |
|
|
|
|
|
|
|
|
on_booted do |
|
|
# puts '********************* PUMA: booted **********************' |
|
|
# puts '********************* PUMA: booted **********************' |
|
|
# end |
|
|
|
|
|
|
|
|
puts |
|
|
|
|
|
puts ' ____ ' |
|
|
|
|
|
puts ' ______ ______ _______ | |__||_ ' |
|
|
|
|
|
puts ' | Ruby | | On | | Rails | | ) ' |
|
|
|
|
|
puts ' ~ ()--() ~ ()--() ~ ()---() ~ ()---()-\ ' |
|
|
|
|
|
puts |
|
|
|
|
|
# puts |
|
|
|
|
|
# puts ' _________' |
|
|
|
|
|
# puts ' |=========|' |
|
|
|
|
|
# puts ' __[]__ _ \_______/' |
|
|
|
|
|
# puts ' +================+ /______\ __(_)__ )( \_____/ )(' |
|
|
|
|
|
# puts ' `-+ +-----+---+ | |------| /_______\ /__\ | | +======+' |
|
|
|
|
|
# puts ' | | | | +-+------+-. |=======| <____> | | || ||' |
|
|
|
|
|
# puts ' | | | | |o \_|___ __|__//\\__|___|_+======+' |
|
|
|
|
|
# puts ' | +=========+ |o o||=+' |
|
|
|
|
|
# puts ' | * * |o o||||' |
|
|
|
|
|
# puts ' | --%-- |o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o||=+' |
|
|
|
|
|
# puts ' +=====================================+-----------+====+' |
|
|
|
|
|
# puts ' |==/ ------ \=====/ ------ \===%--||o o||____' |
|
|
|
|
|
# puts ' // \ L_/__\___//_\__L_/__\_/ %=||o~~~~~~~~o||===\\_____' |
|
|
|
|
|
# puts ' ||__ /. ___________ . ______/ +==============+ \ \_' |
|
|
|
|
|
# puts ' || \__/ || || \__/ || //--\\ //--\\\\ \ \ \\\_' |
|
|
|
|
|
# puts ' \\ / || \ // \\ / || \ // (( <> ))(( <> ))\\_\_\_\_\\\\' |
|
|
|
|
|
# puts ' \========/ \========/ \____/ \____/ `-----------+' |
|
|
|
|
|
# puts |
|
|
|
|
|
end |