HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] 2nd instance of faxgetty won't start



* David Mimms <david.mimms@xxxxxxxx> [071017 17:22]:
> >fax:23:respawn:/usr/sbin/faxgetty /dev/ttyS0
> >fax:23:respawn:/usr/sbin/faxgetty /dev/ttyS1

> Try this:
> 
> fax1:2345:respawn:/usr/sbin/faxgetty ttyS0
> fax2:2345:respawn:/usr/sbin/faxgetty ttyS1


For information, the inittab form is:

<id>:<runlevel>:<type>:<command>

You're didn't work because both had the same <id>, so init will only
rung the 2nd one once the first line with the same id is done.  But it
will never be done, because it's a "respawn" type job.

By chancing the ids to "fax1" and "fax2" as David suggests, they are
different jobs that init can run at the same time.

a.

-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions