.TH session\-end 7 2013-02-08 "Upstart" .\" .SH NAME session\-end \- event signalling session shutdown .\" .SH SYNOPSIS .B session\-end .BI TYPE\fR= TYPE .\" .SH DESCRIPTION The .B session\-end event is generated by the Upstart .BR init (8) daemon when running as a Session Init (where its pid is not 1) when requested to stop. The .B TYPE environment variable will be set to either .I shutdown when the Session Init has received the .I SIGTERM signal, or .I logout when the Session Init has processed the .B com.ubuntu.Upstart0_6.EndSession() D\-Bus method call. .\" .SH SEE ALSO .BR startup (7) .BR init (5) .BR init (8)