You are not logged in.

#1 2013-01-01 04:47:26

tritron4
Member
Registered: 2012-04-14
Posts: 152

iaxmodem

Did anyone addopted iaxmodem to systemd ? It seems we need to have two files.
================= iaxmodem@.service ================
[Unit]
Description = IAXmodem for /dev/%I
ConditionPathExists = /etc/iaxmodem/%I
Requires = asterisk.service
After = asterisk.service

[Service]
Type = simple
ExecStart = /usr/sbin/iaxmodem %I
====================================================

============= faxgetty4ttyiax@.service =============
[Unit]
Description = HylaFAX faxgetty at /dev/%I
ConditionPathExists = /var/spool/hylafax/etc/config.%I
ConditionPathExists = /etc/iaxmodem/%I
Requires = iaxmodem@%I.service

[Service]
Type = simple
Restart = on-success
ExecStart = /usr/lib/fax/faxgetty /dev/%I

Offline

#2 2013-01-01 04:49:47

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,191
Website

Re: iaxmodem

I don't use this, but if you've tested these and they work, you can add them to the wiki page for service files.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

Board footer

Powered by FluxBB