Ubuntu Pastebin

Paste from trism at Sat, 6 Jun 2015 22:40:16 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
description "Awesome Upstart User Session"

start on started dbus and xsession SESSION=awesome

emits desktop-start
emits desktop-end

pre-start script
  echo "Started Awesome"
end script

exec awesome

post-start exec initctl emit desktop-start DESKTOP_SESSION=awesome

# Don't wait to avoid blocking the session from ending.
pre-stop exec initctl emit --no-wait desktop-end DESKTOP_SESSION=awesome

post-stop exec dbus-send --type=method_call --address=$UPSTART_SESSION /com/ubuntu/Upstart com.ubuntu.Upstart0_6.EndSession
Download as text