Bug#1031200: hylafax-server: faxgetty.service doesn't work with iaxmodem

2023-02-19 Thread debian-bug23
Hi Giuseppe, > > [...] > > The question is: could you confirm that you cannot > > add/remove/start/stop > > IAX devices without stopping the iaxmodem.service? In other words, no > > (device) events would be possibile once iaxmodem is started? > > No. You can add/remove devices with a seperate

Bug#1031200: hylafax-server: faxgetty.service doesn't work with iaxmodem

2023-02-14 Thread debian-bug23
Hi Giuseppe, > The problem is if we may just wait for iaxmodem or if we need to wait for > the device. I agree. > The dev-%i.device has events when udev sends them, but since that path is > not a real device, no udev events are sent. This probably means that using > dev-%i.device on any systemd

Bug#1031200: hylafax-server: faxgetty.service doesn't work with iaxmodem

2023-02-13 Thread debian-bug23
Hello Giuseppe, from my point of view all we need is a logical OR (||) in this systemd unit. Unfortunately I couldn't find such an option in systemd's manpages. So, I gave it a shot and tried this: [Unit] Description=HylaFAX faxgetty %I BindsTo=iaxmodem.service || dev-%i.device After=network.tar

Bug#1031200: hylafax-server: faxgetty.service doesn't work with iaxmodem

2023-02-13 Thread debian-bug23
> Does iaxmodem create the link in /dev when you configure the line, or when > it starts up? It's created at the start of iaxmodem. > Is the link present when iaxmodem service is stopped? No.

Bug#1031200: hylafax-server: faxgetty.service doesn't work with iaxmodem

2023-02-13 Thread debian-bug23
Hello Giuseppe, thank you for working on this and responding so quickly. Yes, the Wants line is also working with two or more iax modems. Tino