~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to vivid/usr/share/upstart/sessions/ubuntu-location-service-trust-stored.conf

  • Committer: Dimitri John Ledkov
  • Date: 2014-11-19 12:58:41 UTC
  • Revision ID: dimitri.j.ledkov@intel.com-20141119125841-98dr37roy8dvcv3b
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
description "Location Services Trust Store Daemon"
 
2
 
 
3
# try to start this on session startup or once ubuntu-location-service finished
 
4
# starting; if dbus is available and location-service isn't or vice-versa,
 
5
# startup will fail but the next event firing will trigger another start
 
6
start on (started dbus and xsession SESSION=ubuntu-touch) or \
 
7
    :sys:started JOB=ubuntu-location-service
 
8
stop on desktop-end or :sys:stopping JOB=ubuntu-location-service
 
9
 
 
10
respawn
 
11
 
 
12
script
 
13
    # XXX LP #1369692
 
14
    sleep 2
 
15
 
 
16
    exec /usr/bin/trust-stored-skeleton \
 
17
        --remote-agent DBusRemoteAgent --bus=system \
 
18
        --local-agent MirAgent \
 
19
        --trusted-mir-socket=/var/run/user/$(id -u)/mir_socket_trusted \
 
20
        --for-service UbuntuLocationService \
 
21
        --with-text-domain ubuntu-location-service \
 
22
        --store-bus session
 
23
end script