Incorrect hint on how to start a job when user logs in
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Upstart Cookbook |
New
|
Undecided
|
Unassigned |
Bug Description
This section http://
(begin quote)
Add "UpstartJob=true" to file "/usr/share/
Create a job configuration file corresponding to the D-Bus service, say /etc/init/
start on dbus-activation org.freedesktop
exec /usr/sbin/
(end quote)
This is no longer accurate after Ubuntu 13.04 moved to logind and also as pitti puts it:
12:11 < pitti> zyga: indeed; but that seems wrong even now
12:11 < pitti> consolekit is being called/used way before the first user logs in
12:12 < pitti> zyga: one needs to actually listen for CK's/logind's signals for new sessions, or query for current sessions, not just check when the service gets activated