How can I use Upstart to start iaxmodem
and faxgetty
when I have multiple modems? Centos 6.4 has a nice warning as listed below which incites me to believe the standard inittab
lines will not work.
# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
where I would normally put
IAX:2345:respawn:/path/to/iaxmodem ttyIAX
Best Answer
Use a task which is started on change of runlevel to start a job for each
IAXModem
you want to start. Then use a task to start afaxgetty
for each startediaxmodem
job.IE:
/etc/init/start-iaxmodems.conf
:/etc/init/iaxmodem.conf
:/etc/init/start-faxgettys.conf
:/etc/init/faxgetty.conf
: