~mterry/ubuntu-app-launch/testing

« back to all changes in this revision

Viewing changes to upstart-jobs/application-snap.conf.in

  • Committer: Ted Gould
  • Date: 2016-09-14 21:36:05 UTC
  • Revision ID: ted@gould.cx-20160914213605-f6ufs7ixl9r85938
Remove the double expansion of variables

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
env INSTANCE_ID=""
16
16
 
17
17
env UBUNTU_APP_LAUNCH_ARCH="@ubuntu_app_launch_arch@"
18
 
env UBUNTU_APP_LAUNCH_LIBEXEC="${SNAP}/@pkglibexecdir@"
19
18
 
20
19
# apparmor is taken care of by confine
21
20
cgroup freezer
24
23
oom score 100
25
24
 
26
25
# Remember, this is confined
27
 
exec ${UBUNTU_APP_LAUNCH_LIBEXEC}/exec-line-exec
 
26
exec ${SNAP}/@pkglibexecdir@/exec-line-exec
28
27
 
29
 
post-start exec ${UBUNTU_APP_LAUNCH_LIBEXEC}/zg-report-app open
 
28
post-start exec ${SNAP}/@pkglibexecdir@/zg-report-app open
30
29
post-stop script
31
 
        ${UBUNTU_APP_LAUNCH_LIBEXEC}/zg-report-app close
32
 
        ${UBUNTU_APP_LAUNCH_LIBEXEC}/cgroup-reap-all
 
30
        ${SNAP}/@pkglibexecdir@/zg-report-app close
 
31
        ${SNAP}/@pkglibexecdir@/cgroup-reap-all
33
32
 
34
33
        DEVELOPER_MODE=`gdbus call --system --dest com.canonical.PropertyService --object-path /com/canonical/PropertyService --method com.canonical.PropertyService.GetProperty adb`
35
34
        if [ "$DEVELOPER_MODE" != "(true,)" ] ; then