104: def kill
105: div do
106: p { @results }
107:
108: case @signal
109: when "HUP":
110: p { "A reload (HUP) does not stop the process, but may not be complete." }
111: when "TERM":
112: p { "Stopped with TERM signal. The process should exit shortly, but only after processing pending requests." }
113: when "USR2":
114: p { "Complete restart (USR2) may take a little while. Check status in a few seconds or read logs." }
115: when "KILL":
116: p { "Process was violently stopped (KILL) so pending requests will be lost." }
117: end
118: end
119: end