From 5a4f53f8ee89c94feb0a54c54424921a1e7ea14f Mon Sep 17 00:00:00 2001 From: satanist Date: Sat, 5 Aug 2023 12:53:07 +0200 Subject: [PATCH] add instantiated systemd unit --- scripts/clatd@.systemd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 scripts/clatd@.systemd diff --git a/scripts/clatd@.systemd b/scripts/clatd@.systemd new file mode 100644 index 0000000..e28761e --- /dev/null +++ b/scripts/clatd@.systemd @@ -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 +# + +[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