aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-10-04 16:51:51 +0000
committerTarmac <Unknown>2013-10-04 16:51:51 +0000
commita226a392b9455ee5ea51285b3ccc152b796a5bf9 (patch)
tree886a900e31f428782a99ea615e4e4d311ffc5210
parent1005d5454d06b9117d546103b103a669d857cd3f (diff)
parentd9dd9654222975e2d847e301078ef3b051230c90 (diff)
downloadayatana-greeter-session-broadcast-a226a392b9455ee5ea51285b3ccc152b796a5bf9.tar.gz
ayatana-greeter-session-broadcast-a226a392b9455ee5ea51285b3ccc152b796a5bf9.tar.bz2
ayatana-greeter-session-broadcast-a226a392b9455ee5ea51285b3ccc152b796a5bf9.zip
Use new Upstart dbus syntax.
Approved by Charles Kerr, PS Jenkins bot.
-rw-r--r--data/unity-greeter-session-broadcast-session.conf6
-rw-r--r--debian/control2
2 files changed, 3 insertions, 5 deletions
diff --git a/data/unity-greeter-session-broadcast-session.conf b/data/unity-greeter-session-broadcast-session.conf
index db2425c..675bbc2 100644
--- a/data/unity-greeter-session-broadcast-session.conf
+++ b/data/unity-greeter-session-broadcast-session.conf
@@ -6,11 +6,9 @@ task
emits application-start
#TODO: Check GSettings Key
-start on dbus BUS=system SIGNAL="StartApplication" INTERFACE="com.canonical.Unity.Greeter.Broadcast" PATH="/com/canonical/Unity/Greeter/Broadcast"
+start on dbus BUS=system SIGNAL="StartApplication" INTERFACE="com.canonical.Unity.Greeter.Broadcast" OBJPATH="/com/canonical/Unity/Greeter/Broadcast"
pre-start script
- PATH="/bin:/usr/bin:/sbin:/usr/sbin"
-
if [ -z $ARG0 ] ; then
stop
exit 1
@@ -32,4 +30,4 @@ pre-start script
fi
end script
-exec /sbin/initctl emit application-start APP_ID=${ARG1}
+exec initctl emit application-start APP_ID=${ARG1}
diff --git a/debian/control b/debian/control
index 7498613..be2c328 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ Vcs-Browser: https://code.launchpad.net/~indicator-applet-developers/unity-greet
Package: unity-greeter-session-broadcast
Architecture: any
-Depends: upstart (>= 1.10),
+Depends: upstart (>= 1.10-0ubuntu2),
upstart-app-launch,
${misc:Depends},
${shlibs:Depends},