---
name: "session-end"
section: "7"
platform: "linux"
package: "upstart"
version: "1.11-5"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/session-end"
---

# session-end(7)

event signalling session shutdown

## NAME

session-end - event signalling session shutdown

## SYNOPSIS

**session-end** **TYPE=***TYPE*

## DESCRIPTION

The **session-end** event is generated by the Upstart [**init**(8)](/init/8.md) daemon when running as a Session Init (where its pid is not 1) when requested to stop.

The **TYPE** environment variable will be set to either *shutdown* when the Session Init has received the *SIGTERM* signal, or *logout* when the Session Init has processed the **com.ubuntu.Upstart0\_6.EndSession()** D-Bus method call.

## SEE ALSO

[**startup**(7)](/startup/7.md) [**init**(5)](/init/5.md) [**init**(8)](/init/8.md)
