| 1 |
hylafax (3:6.0.7-1) unstable; urgency=medium |
| 2 |
|
| 3 |
This new package version is rather different from previous ones because |
| 4 |
it integrates with systemd and changes the way to copy/overlap the |
| 5 |
configuration directory /etc/hylafax to /var/spool/hylafax/etc. |
| 6 |
|
| 7 |
1. systemd configuration |
| 8 |
|
| 9 |
Please note that on new installation, systemd services are not started |
| 10 |
automatically. You should enable them in order to start on boot: |
| 11 |
|
| 12 |
# systemctl enable hylafax.service hfaxd.service |
| 13 |
|
| 14 |
If you configure a modem with faxaddmodem, a new systemd unit file |
| 15 |
will be created, [email protected], wher DEVICE is the complete |
| 16 |
name of the device without the leading /dev. After the modem is configured |
| 17 |
another systemd service is enabled, faxq. |
| 18 |
|
| 19 |
So, on systems with a modem on /dev/ttyUSB0 and another on /dev/ttyS0, |
| 20 |
you should normally have these units: |
| 21 |
hylafax.service ** hides any script in /etc/init.d |
| 22 |
hfaxd.service ** the server letting client submit faxes |
| 23 |
[email protected] ** send/receive faxes on /dev/ttyUSB0 modem |
| 24 |
[email protected] ** send/receive faxes on /dev/ttyS0 modem |
| 25 |
faxq.service ** manage the queue of faxes |
| 26 |
|
| 27 |
They are all configured as part of the first one, so starting |
| 28 |
hylafax.service will start all other services as well. |
| 29 |
|
| 30 |
faxgetty services are created by faxaddmodem and when upgrading |
| 31 |
hylafax to 6.0.7-1. |
| 32 |
|
| 33 |
The systemd dependency from faxgetty to the device is coupled with an |
| 34 |
udev rule. Rules are defined in /lib/udev/rules.d/*hylafax-server* |
| 35 |
and only include ttyS0-4, ttyUSB0-15, ttyIAX0-7 |
| 36 |
|
| 37 |
2. /var/spool/hylafax/etc |
| 38 |
|
| 39 |
The configuration is still in /etc/hylafax, but all daemons running as |
| 40 |
systemd services mount the directory in /var/spool/hylafax/etc as |
| 41 |
well. This is configured in the systemd unit file. |
| 42 |
|
| 43 |
All other commands that are not run as daemons, have been moved |
| 44 |
to directory /var/lib/hylafax/bin. In their original pathnames |
| 45 |
has been installed a wrapper that mount the directory, calls |
| 46 |
the real command, then umount the directory. |
| 47 |
|
| 48 |
-- Giuseppe Sacco <[email protected]> Fri, 14 Feb 2020 00:24:41 +0100 |