summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20120625/008037.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20120625/008037.html')
-rw-r--r--zarb-ml/mageia-discuss/20120625/008037.html122
1 files changed, 122 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20120625/008037.html b/zarb-ml/mageia-discuss/20120625/008037.html
new file mode 100644
index 000000000..7d0b6641a
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20120625/008037.html
@@ -0,0 +1,122 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-discuss] systemd and faxgetty
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20systemd%20and%20faxgetty&In-Reply-To=%3C4FE8D1EF.7030808%40whitby-jr.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="008023.html">
+
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] systemd and faxgetty</H1>
+ <B>Jim Whitby</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20systemd%20and%20faxgetty&In-Reply-To=%3C4FE8D1EF.7030808%40whitby-jr.org%3E"
+ TITLE="[Mageia-discuss] systemd and faxgetty">jim at whitby-jr.org
+ </A><BR>
+ <I>Mon Jun 25 23:02:39 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="008023.html">[Mageia-discuss] Problems with Local Mail
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#8037">[ date ]</a>
+ <a href="thread.html#8037">[ thread ]</a>
+ <a href="subject.html#8037">[ subject ]</a>
+ <a href="author.html#8037">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 06/21/2012 10:18 PM, Jim Whitby wrote:
+&lt;snip&gt;
+
+I have managed to put together the files needed for hylafax, probably
+not optimal, but working.
+The server file ( hylafax-server.service) is placed in etc/systemd/system.
+Contains:
+
+[Unit]
+Description=Daemon for hylafax server
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/faxq
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
+
+
+A template file ( <A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">faxgetty at .service</A> ) is linked to
+/etc/systemd/system/<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">faxgetty at ttyS0.service.</A>
+This will start a faxgetty on ttyS0 as a daemon and restart as needed.
+If I need another fax getty on ttyS1 then I just create a new link with
+the name S1 instead of S0.
+
+The faxgetty (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">faxgetty at .service</A>) file is in /lib/systemd/system
+Contains:
+
+[Unit]
+Description=Fax Getty on %I
+BindTo=dev-%i.device
+After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
+After=rc-local.service
+
+# If additional gettys are spawned during boot then we should make
+# sure that this is synchronized before getty.target, even though
+# getty.target didn't actually pull it in.
+Before=getty.target
+IgnoreOnIsolate=yes
+
+[Service]
+ExecStart=-/usr/sbin/faxgetty %I
+Restart=always
+RestartSec=0
+UtmpIdentifier=%I
+TTYPath=/dev/%I
+TTYReset=yes
+TTYVHangup=yes
+KillMode=process
+IgnoreSIGPIPE=no
+
+# Some login implementations ignore SIGTERM, so we send SIGHUP
+# instead, to ensure that login terminates cleanly.
+KillSignal=SIGHUP
+
+I'm sure some of the above is not needed, but until someone who knows
+more than me explains it, I'll leave it alone.
+
+
+--
+Programmers used to batch environments may find it hard to live without
+giant listings; we would find it hard to use them.
+ -- D.M. Ritchie
+----------------------
+Mageia release 2 (Official) for x86_64
+3.3.6-desktop-2.mga2 x86_64
+----------------------
+
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="008023.html">[Mageia-discuss] Problems with Local Mail
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#8037">[ date ]</a>
+ <a href="thread.html#8037">[ thread ]</a>
+ <a href="subject.html#8037">[ subject ]</a>
+ <a href="author.html#8037">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
+mailing list</a><br>
+</body></html>