Session scripts.

Scott James Remnant scott at netsplit.com
Sat Oct 3 08:31:00 BST 2009


On Thu, 2009-09-10 at 15:39 +0200, Stef Bon wrote:

> Are you also planning to add this feature to upstart?? Or is it already
> possible to do this?? I cannot find an event name for "session added"
> and "session removed"...
> 
Events can be sent from any other process via D-Bus or by using "initctl
emit"

It should be easy enough to patch your session manager to do that, and
even include environment such as $DISPLAY, $SSH_AUTH_SOCK, etc.

> Futher, I've installed the newest upstart package (0.6.3) and found out
> that the /etc/event.d directory is not used anymore, I had to create
> the tty.conf files myself....It would be much better when there is
> documentation about this.
> 
There's plenty: man init

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20091003/03760d5a/attachment.pgp 


More information about the upstart-devel mailing list