debian/hylafax-server.hfaxd.service
raw| 1 | [Unit] |
| 2 | Description=HylaFAX client-server protocol server |
| 3 | Documentation=man:hfaxd |
| 4 | After=hylafax.service |
| 5 | PartOf=hylafax.service |
| 6 | After=network-online.target |
| 7 | Wants=network-online.target |
| 8 | |
| 9 | [Install] |
| 10 | WantedBy=hylafax.service |
| 11 | |
| 12 | [Service] |
| 13 | EnvironmentFile=/etc/hylafax/hfaxd.systemd.conf |
| 14 | ExecStart=/usr/sbin/hfaxd -d $BINDTO $NEWPROT $SNPP |
| 15 | BindPaths=/etc/hylafax:/var/spool/hylafax/etc |
| 16 | WorkingDirectory=/var/spool/hylafax |
| 17 | RestartSec=5s |
| 18 | Restart=on-failure |