summaryrefslogtreecommitdiff
path: root/systemd/tlsrouter.service
blob: e1e5fa0c8ede3f77df6ff512013cb54e9c4e8ba8 (plain)
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
[Unit]
Description=TLS SNI proxy
Documentation=https://github.com/google/tlsrouter

[Service]
WorkingDirectory=/tmp
ExecStart=/usr/bin/tlsrouter -conf /etc/tlsrouter.conf
Restart=always
User=nobody
Group=nobody
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
PrivateTmp=true
PrivateDevices=true
ProtectSystem=strict
ProtectHome=true
ProtectKernelTunables=true
ProtectControlGroups=true
ProtectKernelModules=true
NoNewPrivileges=true
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @privileged @raw-io
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX

[Install]
WantedBy=multi-user.target