2007/7/29, Tino Keitel <tino.keitel+lirc@tikei.de>:
On Fri, Jul 27, 2007 at 13:53:19 +0200, Ouattara Oumar Aziz wrote:
> > The daemon needs to be runned by the root user, we can't really cope
> > with that. So every time lircd.conf is updated, lircd needs to be
> > restarted, AFAIK
> Well, Why couldn't we develop a service that is launched by root at
> the boot time that will change the lircd.conf and restart lircd?


modern init replacements (runit, daemontools, and I think upstart too)
systems are able allow selected users to send a signal to a service
process. Upstart is already used in Ubuntu, I hope that Debian also
supports it in future releases. I don't know about the other main
distributions. If they have such plans (at least I hope that they get
the point and throw away the ancient SysV init), I think that the lirc
folks could just wait for this to evolve.


We've done yesterday the "deamon", it works perfectly.
Just send a gighup to lircd, after the change of lircd.conf. A nd own deamon can be use with a socket, and for  other needs.


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

Loc Dardant