------------------------------------------------------------
revno: 34
committer: Dimitri John Ledkov <[email protected]>
branch nick: upstart-jobs
timestamp: Wed 2014-02-12 12:08:46 +0000
message:
auto update
added:
usr/share/upstart/sessions/smart-scopes-proxy.conf
modified:
etc/init/lxc-android-config.conf
etc/init/ubuntu-location-service.override
usr/share/upstart/sessions/scope-registry.conf
--
lp:~upstart-devel/upstart/upstart-jobs
https://code.launchpad.net/~upstart-devel/upstart/upstart-jobs
Your team Upstart Reviewers is subscribed to branch
lp:~upstart-devel/upstart/upstart-jobs.
To unsubscribe from this branch go to
https://code.launchpad.net/~upstart-devel/upstart/upstart-jobs/+edit-subscription
=== modified file 'etc/init/lxc-android-config.conf'
--- etc/init/lxc-android-config.conf 2013-11-18 12:42:03 +0000
+++ etc/init/lxc-android-config.conf 2014-02-12 12:08:46 +0000
@@ -26,6 +26,13 @@
sleep 1
done
+ # Allow custom properties before announcing that the boot is completed
+ if [ -f /custom/custom.prop ]; then
+ grep "^custom\." /custom/custom.prop | sed 's/=/ /' | while read property value; do
+ setprop $property $value
+ done
+ fi
+
initctl emit android
end script
=== modified file 'etc/init/ubuntu-location-service.override'
--- etc/init/ubuntu-location-service.override 2014-01-24 12:08:44 +0000
+++ etc/init/ubuntu-location-service.override 2014-02-12 12:08:46 +0000
@@ -1,2 +1,15 @@
start on (android
and started dbus)
+
+script
+ provider="gps::Provider"
+
+ # Check if we need to use the fake provider instead
+ if [ $(getprop custom.location.fake) = "true" ]; then
+ provider="dummy::Provider"
+ poptions="--dummy::Provider::ReferenceLocationLat=$(getprop custom.location.lat 51.505660) \
+ --dummy::Provider::ReferenceLocationLon=$(getprop custom.location.lon -0.099850)"
+ fi
+
+ exec /usr/bin/ubuntu-location-serviced --bus system --provider $provider $poptions
+end script
=== modified file 'usr/share/upstart/sessions/scope-registry.conf'
--- usr/share/upstart/sessions/scope-registry.conf 2013-12-06 17:20:05 +0000
+++ usr/share/upstart/sessions/scope-registry.conf 2014-02-12 12:08:46 +0000
@@ -1,7 +1,7 @@
description "Scope registry"
author "Michal Hruby <[email protected]>"
-start on started dbus
+start on started smart-scopes-proxy
stop on desktop-end
respawn
=== added file 'usr/share/upstart/sessions/smart-scopes-proxy.conf'
--- usr/share/upstart/sessions/smart-scopes-proxy.conf 1970-01-01 00:00:00 +0000
+++ usr/share/upstart/sessions/smart-scopes-proxy.conf 2014-02-12 12:08:46 +0000
@@ -0,0 +1,12 @@
+description "Smart scopes proxy"
+author "Marcus Tomlinson <[email protected]>"
+
+start on started dbus
+stop on desktop-end
+
+respawn
+respawn limit 10 60
+
+expect stop
+
+exec /usr/lib/i386-linux-gnu/smartscopesproxy/smartscopesproxy upstart
--
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/upstart-devel