aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-10-02 10:36:52 -0500
committerTed Gould <ted@gould.cx>2013-10-02 10:36:52 -0500
commitc139f088293423e277f8f65e5b4ea84611d2dfcf (patch)
treecacd416c44928f511fc53b8db9aad40ea3456e90
parent1005d5454d06b9117d546103b103a669d857cd3f (diff)
downloadayatana-greeter-session-broadcast-c139f088293423e277f8f65e5b4ea84611d2dfcf.tar.gz
ayatana-greeter-session-broadcast-c139f088293423e277f8f65e5b4ea84611d2dfcf.tar.bz2
ayatana-greeter-session-broadcast-c139f088293423e277f8f65e5b4ea84611d2dfcf.zip
Use object path as supported in newer upstart
-rw-r--r--data/unity-greeter-session-broadcast-session.conf6
1 files changed, 2 insertions, 4 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}