Production hardening: host-aware install, ownership contracts, firewall safety
This commit is contained in:
@@ -16,10 +16,14 @@ Restart=on-failure
|
||||
RestartSec=5s
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
UMask=0077
|
||||
ProtectHome=true
|
||||
ProtectSystem=strict
|
||||
ReadOnlyPaths=/etc/hysteria/config.yaml
|
||||
ReadWritePaths={{DATA_DIR}} {{LOG_DIR}}
|
||||
RestrictAddressFamilies=AF_INET AF_UNIX
|
||||
SystemCallArchitectures=native
|
||||
LockPersonality=true
|
||||
CapabilityBoundingSet=
|
||||
AmbientCapabilities=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user