~ted/ubuntu-app-launch/install-root

« back to all changes in this revision

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

  • Committer: Ted Gould
  • Date: 2016-12-12 22:09:32 UTC
  • Revision ID: ted@gould.cx-20161212220932-iowunj81gne0jh7w
Removing snap variables from the Upstart jobs. If we're under a SNAP we'll be using systemd

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
oom score 100
24
24
 
25
25
# Remember, this is confined
26
 
exec ${SNAP}/@pkglibexecdir@/exec-line-exec
 
26
exec @pkglibexecdir@/exec-line-exec
27
27
 
28
 
post-start exec ${SNAP}/@pkglibexecdir@/zg-report-app open
 
28
post-start exec @pkglibexecdir@/zg-report-app open
29
29
post-stop script
30
 
        ${SNAP}/@pkglibexecdir@/zg-report-app close
31
 
        ${SNAP}/@pkglibexecdir@/cgroup-reap-all
 
30
        @pkglibexecdir@/zg-report-app close
 
31
        @pkglibexecdir@/cgroup-reap-all
32
32
 
33
33
        DEVELOPER_MODE=`gdbus call --system --dest com.canonical.PropertyService --object-path /com/canonical/PropertyService --method com.canonical.PropertyService.GetProperty adb`
34
34
        if [ "$DEVELOPER_MODE" != "(true,)" ] ; then