Is there a file system standard for runnung irexec as daemon?
I'm in the process of creating a lirc package and I like
to add an init.d-script for irexec to run it as an system service.
I would suggest /etc/init.d/lircexecd for the init.d-script, because
it's similar to lirc* and it happens to be started after lircd
/etc/lircexecd.conf could be the irexec configuration file.
So I'd have:
start-stop-daemon --start --quiet --exec /usr/bin/irexec -- -d /etc/lircexecd.conf
What do you think?
Would /etc/init.d/irexec and /etc/irexec.conf or /etc/lircrd
be a better place?
I don't want to set a "new standard", I'd like to adopt an
existing one. What do the distributors do?
I'd like to have separate init.d for irexec because it's in
a separate package (openembedded is low memory systems).
/etc/irexec.conf 14 (mentioned on mythtv.org mailinglist)
Christophe, you are the maintainer, maybe you could just set
your preference as standard (by including an init.d in contrib/) :-)
p.s.: i attached my init.d as a sample, to be changed :-)
p.p.s.: irexec cannot be reloaded, only restart is possible.
Matthias Goebl "lists-lirc@..." wrote:
> Is there a file system standard for runnung irexec as daemon?
> start-stop-daemon --start --quiet --exec /usr/bin/irexec -- -d
> What do you think?
> Would /etc/init.d/irexec and /etc/irexec.conf or /etc/lircrd
> be a better place?
irexec will try to open /etc/lircrc if $HOME/.lircrc does not exist.
You should just use the default, i.e. it's not necessary at all to pass
the location of the config file to irexec.
I don't have any opinion on the other questions.
Get latest updates about Open Source Projects, Conferences and News.