fixup! add instantiated systemd unit

This commit is contained in:
satanist 2023-08-07 12:16:53 +02:00
parent 5a4f53f8ee
commit 1d6349d592
1 changed files with 8 additions and 4 deletions

View File

@ -1,11 +1,15 @@
#
# clatd service file for systemd
#
# Install it to: /etc/systemd/system/clatd.service
# Enable it with: systemctl enable clatd.service
# Start it with: systemctl start clatd.service
# 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]
@ -16,7 +20,7 @@ StartLimitIntervalSec=0
[Service]
Type=simple
ExecStart=/usr/sbin/clatd -c /etc/clatd/%i plat-dev=%i
ExecStart=/usr/sbin/clatd -c /etc/clatd/%i.conf
[Install]
WantedBy=multi-user.target