Merge lp:~lool/location-service/update-trust-store-job into lp:location-service/trunk

Proposed by Loïc Minier
Status: Merged
Approved by: Thomas Voß
Approved revision: 107
Merged at revision: 104
Proposed branch: lp:~lool/location-service/update-trust-store-job
Merge into: lp:location-service/trunk
Prerequisite: lp:~thomas-voss/location-service/add-testing-for-remote-provider
Diff against target: 34 lines (+17/-8)
1 file modified
data/ubuntu-location-service-trust-stored.conf.in (+17/-8)
To merge this branch: bzr merge lp:~lool/location-service/update-trust-store-job
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Thomas Voß (community) Approve
Review via email: mp+234726@code.launchpad.net

Commit message

Update upstart job start conditions; workaround startup issue with a sleep.

Description of the change

Update upstart job start conditions; workaround startup issue with a sleep.

To post a comment you must log in.
Revision history for this message
Thomas Voß (thomas-voss) wrote :

LGTM.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/ubuntu-location-service-trust-stored.conf.in'
--- data/ubuntu-location-service-trust-stored.conf.in 2014-08-13 09:50:27 +0000
+++ data/ubuntu-location-service-trust-stored.conf.in 2014-09-15 18:31:19 +0000
@@ -1,13 +1,22 @@
1description "Location Services Trust Store Daemon"1description "Location Services Trust Store Daemon"
22
3start on (started JOB=dbus and started JOB=unity8) and (:sys:started JOB=ubuntu-location-service)3# try to start this on session startup or once ubuntu-location-service finished
4stop on stopping JOB=dbus or (:sys:stopped JOB=ubuntu-location-service)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
6start on (started dbus and xsession SESSION=ubuntu-touch) or \
7 :sys:started JOB=ubuntu-location-service
8stop on desktop-end or :sys:stopping JOB=ubuntu-location-service
59
6respawn10respawn
711
8exec /usr/bin/trust-stored-skeleton \12script
9 --remote-agent DBusRemoteAgent --bus=system \13 # XXX LP #1369692
10 --local-agent MirAgent \14 sleep 2
11 --trusted-mir-socket=/var/run/user/$(id -u)/mir_socket_trusted \15
12 --for-service UbuntuLocationService \16 exec /usr/bin/trust-stored-skeleton \
13 --store-bus session17 --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 --store-bus session
22end script

Subscribers

People subscribed via source and target branches