initial commit of file from CVS for smeserver-hylafax on Sat Sep 7 20:28:13 AEST 2024
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{
|
||||
my $port = $hylafax{port} || "ttyS0";
|
||||
|
||||
$OUT .= "[Unit]\n";
|
||||
$OUT .= "Description=faxgetty on /dev/$port\n";
|
||||
$OUT .= "Documentation=man:faxgetty(8)\n";
|
||||
$OUT .= "BindsTo=dev-$port.device\n";
|
||||
$OUT .= "After=dev-$port.device systemd-user-sessions.service plymouth-quit-wait.service\n";
|
||||
$OUT .= "After=rc-local.service\n";
|
||||
$OUT .= "Before=sme-server.target\n";
|
||||
$OUT .= "IgnoreOnIsolate=yes\n";
|
||||
$OUT .= "\n";
|
||||
$OUT .= "[Service]\n";
|
||||
$OUT .= "ExecStart=-/usr/sbin/faxgetty /dev/$port\n";
|
||||
$OUT .= "Type=idle\n";
|
||||
$OUT .= "Restart=always\n";
|
||||
$OUT .= "RestartSec=0\n";
|
||||
$OUT .= "UtmpIdentifier=$port\n";
|
||||
$OUT .= "TTYPath=/dev/$port\n";
|
||||
$OUT .= "KillMode=process\n";
|
||||
$OUT .= "IgnoreSIGPIPE=no\n";
|
||||
$OUT .= "\n";
|
||||
$OUT .= "[Install]\n";
|
||||
$OUT .= "WantedBy=sme-server.target\n";
|
||||
$OUT .= "\n";
|
||||
}
|
Reference in New Issue
Block a user