mirror of
https://github.com/toreanderson/clatd
synced 2026-09-23 07:01:18 +00:00
add instantiated systemd unit
This commit is contained in:
22
scripts/clatd@.systemd
Normal file
22
scripts/clatd@.systemd
Normal 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
|
||||||
Reference in New Issue
Block a user