| 1 |
# |
| 2 |
# clatd service file for systemd |
| 3 |
# |
| 4 |
# Install it to: /etc/systemd/system/[email protected] |
| 5 |
# Start it with: systemctl start [email protected] |
| 6 |
# Stop it with: systemctl stop [email protected] |
| 7 |
# |
| 8 |
# This is to dynamicaly enable and disable the clat depending on the |
| 9 |
# connected network. |
| 10 |
# |
| 11 |
# Written by Tore Anderson <[email protected]> |
| 12 |
# Updated by satanist <[email protected]> |
| 13 |
# |
| 14 |
|
| 15 |
[Unit] |
| 16 |
Description=464XLAT CLAT daemon |
| 17 |
Documentation=man:clatd(8) |
| •18 |
|
| 19 |
Wants=network-online.target |
| 20 |
After=network-online.target |
| 21 |
After=nss-lookup.target |
| •22 |
|
| 23 |
# Replace global instance (which autodetected plat-dev) since we user |
| 24 |
# selected one now. |
| 25 |
Conflicts=clatd.service |
| 26 |
Before=clatd.service |
| 27 |
|
| 28 |
StartLimitIntervalSec=0 |
| 29 |
|
| 30 |
[Service] |
| 31 |
Type=simple |
| •32 |
ExecStart=/usr/sbin/clatd -c /etc/clatd.conf -c /etc/clatd/%i.conf plat-dev=%i |
| 33 |
|
| 34 |
[Install] |
| 35 |
WantedBy=multi-user.target |