summarylogtreecommitdiffstats
path: root/lyrebird-proxy.service
blob: bfd6f59c7341f57e562a85da59752559d89a9306 (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
26
27
28
29
30
31
32
33
[Unit]
Description=pluggable transport proxy for Tor, implementing obfs4
After=network.target nss-lookup.target

[Service]
ExecStart=/usr/bin/lyrebird-proxy

Restart=on-failure

# Hardening
DynamicUser=true
NoNewPrivileges=true

PrivateTmp=true
PrivateDevices=true
PrivateMounts=true
PrivateIPC=true

ProtectHome=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectKernelLogs=true
ProtectProc=invisible
ProtectHostname=true
ProtectClock=true
ProtectSystem=strict

MemoryDenyWriteExecute=true
RestrictRealtime=true

[Install]
WantedBy=multi-user.target