mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-10-01 00:55:42 -04:00
26 lines
615 B
Plaintext
26 lines
615 B
Plaintext
|
[Service]
|
||
|
LockPersonality=true
|
||
|
NoNewPrivileges=true
|
||
|
MemoryDenyWriteExecute=true
|
||
|
PrivateIPC=true
|
||
|
PrivateTmp=true
|
||
|
ProcSubset=pid
|
||
|
ProtectHome=true
|
||
|
ProtectHostname=true
|
||
|
ProtectClock=true
|
||
|
ProtectControlGroups=true
|
||
|
ProtectKernelLogs=true
|
||
|
ProtectKernelModules=true
|
||
|
ProtectKernelTunables=true
|
||
|
ProtectProc=invisible
|
||
|
ProtectSystem=strict
|
||
|
ReadWritePaths=/var/lib/nginx /var/log/nginx -/var/cache/nginx
|
||
|
RemoveIPC=true
|
||
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
||
|
RestrictNamespaces=true
|
||
|
RestrictRealtime=true
|
||
|
RestrictSUIDSGID=true
|
||
|
SystemCallArchitectures=native
|
||
|
SystemCallFilter=@system-service
|
||
|
SystemCallFilter=~@obsolete
|