Re: Newbie setup issues - Hylafax 6.0.6.tar.gz on Fedora 17

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

 




Am 30.10.2012 15:41, schrieb Gary Stainburn:
> On Tuesday 30 October 2012 12:02:51 Patrick Lists wrote:
>> On 10/30/2012 12:06 PM, Gary Stainburn wrote:
>>> Can anyone suggest what I need to do to get it to run on startup please.
>>
>> Have you checked the systemctl manpage? Is it maybe something like this:
>>
>> # systemctl enable faxgetty-ttyS0.service
>>
>> Regards,
>> Patrick
> 
> I had done this Patrick but it didn't work. However, I did eventually trace it 
> down to a typing error in the config file.
> 
> BTW. Is the hylafgax-users list still going. I did try there first but after 
> subscribing and posting nothing has come through. Checking the archives 
> doesn't seem to have anything in for this year

Hylafax 6 is a dumb fork

http://sourceforge.net/projects/hylafax/files/
they are providing a src.rpm which can be rebuilt with "rpmbuild --rebuild file.src.rpm"

[root@asterisk:~]$ rpm -qa | grep hylafax
hylafax-5.5.1-1.fc17.20121016.rh.x86_64

works like a charme with self-created system-units below
and self-packaged iaxmodem on F17 since weeks
____________________________________________

[root@asterisk:/etc/systemd/system]$ cat hylafax.service
[Unit]
Description=Hylafax
After=syslog.target network.target

[Service]
Type=forking

ExecStartPre=/bin/systemctl start faxq.service
ExecStart=/usr/sbin/hfaxd -i hylafax
ExecStartPost=/bin/systemctl start iaxmodem.service
ExecStartPost=/bin/systemctl start faxgetty.service

ExecStopPost=/bin/systemctl stop iaxmodem.service
ExecStopPost=/bin/systemctl stop faxgetty.service
ExecStopPost=/bin/systemctl stop faxq.service

Restart=always
RestartSec=2
TimeoutSec=2

[Install]
WantedBy=multi-user.target
____________________________________________

[root@asterisk:/etc/systemd/system]$ cat faxgetty.service
[Unit]
Description=HylaFAX faxgetty

[Service]
User=root
Group=root
Restart=always
RestartSec=2
TimeoutSec=2
ExecStart=/usr/sbin/faxgetty ttyIAX0

[Install]
WantedBy=multi-user.target
____________________________________________

[root@asterisk:/etc/systemd/system]$ cat iaxmodem.service
[Unit]
Description=iaxmodem
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/bin/iaxmodem
Restart=always
RestartSec=2
TimeoutSec=2

[Install]
WantedBy=multi-user.target
____________________________________________

[root@asterisk:/etc/systemd/system]$ cat faxq.service
[Unit]
Description=HylaFAX queue manager
After=syslog.target network.target
Before=hylafax.service

[Service]
Type=forking
ExecStart=/usr/sbin/faxq
Restart=always
RestartSec=2
TimeoutSec=2

[Install]
WantedBy=multi-user.target




Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux