initctl, jobs and ptys
Scott James Remnant
scott at netsplit.com
Fri May 18 11:34:22 BST 2007
On Wed, 2007-05-02 at 23:51 +0000, Neil Macvicar wrote:
> Before I start messing with the code for initctl and upstart needlessly, is
> there a non-hack way of getting job-generated output to a pts, eg /dev/pts/0,
> from a command such as "initctl start test.daemon", where in the job file I
> may have "echo 'some sort of useful text'". Initctl is being run from the pts
> in question.
>
No, not at this time.
I'd theorised that initctl could provide its file descriptors to upstart
over the socket (this is one of the reasons uses UNIX domain sockets
rather than fifos), so they could be connected.
Not yet implemented (but somebody willing could).
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: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20070518/19498e29/attachment.pgp
More information about the upstart-devel
mailing list