Hylafax+ on CentOS7 and Postfix

Tom Robinson <[email protected]> Mon, 14 Aug 2017 16:12:51 +1000
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
Hi,

I've been running Hylafax+ on CentOS6 happily for sometime (with sendmail). I've just started
setting up CentOS7 with Hylafax+ and Postfix but I can't easily find the documentation for setting
up faxgetty using systemd. Can someone please point me in the right direction?

Currently I have copied the /usr/lib/systemd/system/[email protected] to /etc/systemd/system
and renamed it as [email protected]. Is that correct?

I get this when I list the unit files:

# systemctl list-unit-files | grep fax
[email protected]                     disabled
[email protected]                disabled
hylafax-faxq.service                          disabled
hylafax-hfaxd.service                         disabled

Not sure if that is correct. It fails to start with selinux on but switching that off allows it to
start and I see this:

# systemctl status [email protected][email protected] - faxgetty on /dev/ttyS0
   Loaded: loaded (/etc/systemd/system/[email protected]; disabled; vendor preset:
disabled)
   Active: active (running) since Mon 2017-08-14 16:07:47 AEST; 11s ago
     Docs: man:faxgetty(8)
 Main PID: 20931 (faxgetty)
   CGroup: /system.slice/system-hylafax\x2dfaxgetty.slice/[email protected]
           └─20931 /usr/sbin/faxgetty /dev/ttyS0

Aug 14 16:07:47 atom.motec.com.au systemd[1]: Started faxgetty on /dev/ttyS0.
Aug 14 16:07:47 atom.motec.com.au systemd[1]: Starting faxgetty on /dev/ttyS0...
Aug 14 16:07:47 atom.motec.com.au FaxGetty[20931]: OPEN /dev/ttyS0  HylaFAX (tm) Version 5.5.9
[root@atom system]# ps -elf | grep faxgetty
0 S root     20808 20426  0  80   0 - 29779 wait   15:38 pts/5    00:00:00 man faxgetty
4 S uucp     20931     1  0  80   0 - 44850 poll_s 16:07 ?        00:00:00 /usr/sbin/faxgetty /dev/ttyS0
0 S root     20934 20427  0  80   0 - 28162 pipe_w 16:08 pts/6    00:00:00 grep --color=auto faxgetty

I can't start the other services so I'm getting a bit lost.

What's the best documentation to follow for CentOS7?

Kind regards,
Tom

-- 

Tom Robinson
IT Manager/System Administrator

MoTeC Pty Ltd

121 Merrindale Drive
Croydon South
3136 Victoria
Australia

T: +61 3 9761 5050
F: +61 3 9761 5051   
E: [email protected]
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlmRP2MACgkQTTfAzopMt6fLxQCeLPmBqbAll02hqVmYgJ5stUdx
FsAAn3CBW4AuPO+3NeMy2you8OZlh5sM
=DnqU
-----END PGP SIGNATURE-----