blob: 7fcf852d456c2b92b4fb8421ae64e00cd82cd24b (
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
34
35
36
37
38
|
[Unit]
Description=A proxy for Piped written in Rust, meant to superseed http3-ytproxy
After=network.target
[Service]
User=piped
EnvironmentFile=/etc/webapps/piped/proxy.env
ExecStart=/usr/bin/piped-proxy
Restart=on-failure
PrivateTmp=true
NoNewPrivileges=true
ProtectSystem=strict
CapabilityBoundingSet=
RestrictNamespaces=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
PrivateDevices=true
RestrictSUIDSGID=true
RemoveIPC=true
ProtectClock=true
ProtectKernelLogs=true
SystemCallArchitectures=native
MemoryDenyWriteExecute=true
ProtectHostname=true
LockPersonality=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictRealtime=true
ProtectHome=true
ProtectProc=invisible
ProcSubset=pid
SystemCallFilter=~@swap @resources @reboot @raw-io @privileged @obsolete @mount @module @debug @cpu-emulation @clock
IPAddressDeny=link-local multicast
UMask=0777
[Install]
WantedBy=multi-user.target
|