summarylogtreecommitdiffstats
path: root/tcpcryptd.service
blob: 4bfeb575e09eb9ed6b7b6d87fc7b75715a932c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=tcpcrypt daemon for automatic transparent encryption of TCP sessions
Documentation=man:tcpcryptd(8)
After=network.target

[Service]
EnvironmentFile=/etc/conf.d/tcpcryptd.conf
ExecStartPre=/usr/share/tcpcryptd/iptables.sh start
ExecStart=/usr/bin/tcpcryptd -p "$DIVERT_PORT" -U "$DAEMON_USER" -J "$JAIL_DIR" -f -e
ExecStopPost=/usr/share/tcpcryptd/iptables.sh stop

[Install]
WantedBy=multi-user.target