Skip to content

Commit

Permalink
add instantiated systemd unit (#29)
Browse files Browse the repository at this point in the history
* add instantiated systemd unit

* fixup! add instantiated systemd unit

---------

Co-authored-by: satanist <[email protected]>
  • Loading branch information
Satan1st and satanist authored Aug 8, 2023
1 parent 8aa8bfa commit b8a7092
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions scripts/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# clatd service file for systemd
#
# Install it to: /etc/systemd/system/[email protected]
# Start it with: systemctl start [email protected]
# Stop it with: systemctl stop [email protected]
#
# This is to dynamicaly enable and disable the clat depending on the
# connected network.
#
# Written by Tore Anderson <[email protected]>
# Updated by satanist <[email protected]>
#

[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

0 comments on commit b8a7092

Please sign in to comment.