You are not logged in.

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

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

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
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
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.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB