[JDEV] Executor module for Jabber
Robert Norris
rob at nauseum.org
Thu Aug 30 20:14:54 CDT 2001
Hi all,
This is an announcement for the most recent Jabber-related thing I've
done. This time its a module that forks and executes UNIX commands to
handle received messages. This makes it really easy to set up something
like a Jabber->mail gateway, all you do is have it call /usr/bin/mail.
Think /etc/aliases for Jabber, sort of. Or maybe CGI for Jabber.
http://cataclysm.cx/jabber/executor.html
I'd be interested it hearing about it if you decide to use it, simply
because I had trouble thinking of good examples, though I have no doubt
that it could be useful.
And for those that care, the SIGCHLD problem was solved by forking,
then having that child process fork another child to do the actual
work. Then the first child exits, the parent cleans it up immediatly,
and the second child gets orphaned, so when it exits, init cleans it
up. Disgusting, yes, but it works well.
Regards,
Rob.
--
Robert Norris <rob at nauseum.org>
1024D/FC18E6C2 6FBF 098A A3F2 A728 490F 7743 59BD 7767 FC18 E6C2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010831/58bbbd1b/attachment-0002.pgp>
More information about the JDev
mailing list