mirror of
https://github.com/toreanderson/clatd
synced 2026-09-23 15:11:17 +00:00
fixup! add instantiated systemd unit
This commit is contained in:
@@ -1,11 +1,15 @@
|
|||||||
#
|
#
|
||||||
# clatd service file for systemd
|
# clatd service file for systemd
|
||||||
#
|
#
|
||||||
# Install it to: /etc/systemd/system/clatd.service
|
# Install it to: /etc/systemd/system/clatd@.service
|
||||||
# Enable it with: systemctl enable clatd.service
|
# Start it with: systemctl start clatd@iface.service
|
||||||
# Start it with: systemctl start clatd.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>
|
# Written by Tore Anderson <tore@fud.no>
|
||||||
|
# Updated by satanist <satanist+fsmi@bureaucracy.de>
|
||||||
#
|
#
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
@@ -16,7 +20,7 @@ StartLimitIntervalSec=0
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/sbin/clatd -c /etc/clatd/%i plat-dev=%i
|
ExecStart=/usr/sbin/clatd -c /etc/clatd/%i.conf
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user