System Dienst Fax Neustart
Beschreibung
Strukturiertes Beenden und Neustart aller Komponenten des Fax-Systems in der richtigen Reihenfolge.
LocaPhone Version
RELEASE 5 RELEASE 4 RELEASE 3 RELEASE 2
loca@voip:~$ restart_fax.sh
BASH
#!/bin/bash
for i in {0..3} ; do
systemctl stop faxgetty-t38modem@ttyT38MODEM${i}
done
systemctl stop hylafax
for i in {0..3} ; do
systemctl stop t38modem@ttyT38MODEM${i}
done
sleep 3
for i in {0..3} ; do
systemctl start t38modem@ttyT38MODEM${i}
done
systemctl start hylafax
for i in {0..3} ; do
systemctl start faxgetty-t38modem@ttyT38MODEM${i}
done