Skip to content

Instantly share code, notes, and snippets.

[Thu Apr 30 14:51:38.180792 2020] [mpm_prefork:notice] [pid 24011] AH00169: caught SIGTERM, shutting down
[ D 2020-04-30 14:51:38.1910 24011/T1 apa/Hooks.cpp:1613 ]: Shutting down Phusion Passenger...
[ D 2020-04-30 14:51:38.1911 24015/T1 age/Wat/WatchdogMain.cpp:376 ]: Stopping API server
[ D 2020-04-30 14:51:38.1915 24015/T1 age/Wat/WatchdogMain.cpp:1432 ]: Web server exited gracefully; gracefully shutting down all agents...
[ D 2020-04-30 14:51:38.1935 26811/T1 age/Wat/WatchdogMain.cpp:494 ]: Sending SIGTERM to all agent processes
[ D 2020-04-30 14:51:38.1938 26811/T1 age/Wat/WatchdogMain.cpp:508 ]: Waiting until all agent processes have exited...
[ D 2020-04-30 14:51:38.1940 24019/T8 age/Cor/Con/TurboCaching.h:246 ]: Clearing turbocache
[ N 2020-04-30 14:51:38.1940 24019/T8 age/Cor/CoreMain.cpp:671 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2020-04-30 14:51:38.1940 24019/T1 age/Cor/CoreMain.cpp:1246 ]: Received command to shutdown gracefully. Waitin
@futura
futura / check_boxes_with_other_input.rb
Created February 20, 2012 14:46
Custom inputs for Formtastic: CheckBoxesWithOtherInput and StringAsOtherInput
# Assumes serialized attribute (can use ActiveRecord Store with Rails 3.2+)
# Splits attribute into hash with key for checkboxes (default 'checks')
# Use with TextFieldsWithOther to add 'other' key for text values ...
#
# symptoms[checks] <-- Array
# symptoms[other] <-- String
#
# For a nested hash, define a top-level method (or with ActiveRecord::Store, define an accessor)
# In model ...
# class Patient < ActiveRecord::Base