add instantiated systemd unit

This commit is contained in:
satanist 2023-08-05 12:53:07 +02:00
parent ff6aa57c4b
commit 5a4f53f8ee
1 changed files with 22 additions and 0 deletions

22
scripts/clatd@.systemd Normal file
View File

@ -0,0 +1,22 @@
#
# 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
#
# Written by Tore Anderson <tore@fud.no>
#
[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 plat-dev=%i
[Install]
WantedBy=multi-user.target