This file is indexed.

/usr/share/upstart/sessions/application-legacy.conf is in ubuntu-app-launch 0.5+15.10.20150817-0ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
description "Application Launching for Legacy Applications"
author "Ted Gould <ted@canonical.com>"

instance ${APP_ID}-${INSTANCE_ID}

start on application-legacy-start
stop on application-end or desktop-end

env APP_ID
env APP_EXEC
env APP_EXEC_POLICY=""
env APP_URIS
env APP_DESKTOP_FILE_PATH
env APP_XMIR_ENABLE

# This will be set to "unconfined" by desktop-exec if there is no confinement defined
apparmor switch $APP_EXEC_POLICY
cgroup freezer

# Initial OOM Score
oom score 110

# This could be confined
exec /usr/lib/x86_64-linux-gnu/ubuntu-app-launch/exec-line-exec

post-start exec /usr/lib/x86_64-linux-gnu/ubuntu-app-launch/zg-report-app open
post-stop script
	/usr/lib/x86_64-linux-gnu/ubuntu-app-launch/zg-report-app close
	/usr/lib/x86_64-linux-gnu/ubuntu-app-launch/cgroup-reap-all

	DEVELOPER_MODE=`gdbus call --system --dest com.canonical.PropertyService --object-path /com/canonical/PropertyService --method com.canonical.PropertyService.GetProperty adb`
	if [ "$DEVELOPER_MODE" != "(true,)" ] ; then
		rm -f ${HOME}/.cache/upstart/application-legacy-${APP_ID}-${INSTANCE_ID}.log*
	fi
end script