![]() |
2010-11-15
, 18:08
|
Posts: 187 |
Thanked: 41 times |
Joined on May 2010
|
#2
|
![]() |
2010-11-15
, 18:40
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#3
|
![]() |
2010-11-15
, 19:06
|
Posts: 187 |
Thanked: 41 times |
Joined on May 2010
|
#4
|
![]() |
2010-11-15
, 19:19
|
Posts: 187 |
Thanked: 41 times |
Joined on May 2010
|
#5
|
This works fine so far but sometimes dbus-scipts seem not to listen for events anymore and therefore doesn't execute the script.
To be sure and to examine the problem I started dbus-scripts by upstart in the following way:
Actually I have two daemons running, one for system events and one for session events. The daemon listening to system events gets started by upstart with the script in event.d provided by the dbus-scripts package. The second daemon listening to session events gets started like described above - it's basically the same script as described here.
In /etc/dbus-scripts.d I placed a file with the following contents: