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