File: clatd%40.systemd

package info (click to toggle)
clatd 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: perl: 821; makefile: 51; sh: 43
file content (35 lines) | stat: -rw-r--r-- 837 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# 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)

Wants=network-online.target
After=network-online.target
After=nss-lookup.target

# Replace global instance (which autodetected plat-dev) since we user
# selected one now.
Conflicts=clatd.service
Before=clatd.service

StartLimitIntervalSec=0

[Service]
Type=simple
ExecStart=/usr/sbin/clatd -c /etc/clatd.conf -c /etc/clatd/%i.conf plat-dev=%i

[Install]
WantedBy=multi-user.target