mirror of https://github.com/toreanderson/clatd
add instantiated systemd unit (#29)
* add instantiated systemd unit * fixup! add instantiated systemd unit --------- Co-authored-by: satanist <satanist+fsmi@bureaucracy.de>
This commit is contained in:
parent
8aa8bfa5d5
commit
b8a7092873
|
|
@ -0,0 +1,26 @@
|
|||
#
|
||||
# clatd service file for systemd
|
||||
#
|
||||
# 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]
|
||||
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.conf
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in New Issue