add instantiated systemd unit (#29)

* add instantiated systemd unit

* fixup! add instantiated systemd unit

---------

Co-authored-by: satanist <satanist+fsmi@bureaucracy.de>
This commit is contained in:
satan1st
2023-08-08 08:33:50 +02:00
committed by GitHub
parent 8aa8bfa5d5
commit b8a7092873

26
scripts/clatd@.systemd Normal file
View File

@@ -0,0 +1,26 @@
#
# 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)
After=network-online.target
StartLimitIntervalSec=0
[Service]
Type=simple
ExecStart=/usr/sbin/clatd -c /etc/clatd/%i.conf
[Install]
WantedBy=multi-user.target