linux:notes:systemd_script_sandbox
This is an old revision of the document!
Table of Contents
Information
Relatively Safe
- These shouldn't break anything, but check
MemoryDenyWriteExecute
andRestrictNamespaces
first should something break
ProtectSystem=true ProtectHome=true PrivateTmp=true PrivateDevices=true ProtectKernelTunables=true ProtectKernelModules=true ProtectControlGroups=true RestrictNamespaces=true MemoryDenyWriteExecute=true RestrictRealtime=true
Service-Specific
ReadOnlyPaths
andReadWritePaths
are space-separated
NoNewPrivileges=true
PrivateUsers=true
PrivateNetwork=true
ReadOnlyPaths='x' 'x'
ReadWritePaths='x' 'x'
LockPersonality=true
/srv/www/wiki/data/attic/linux/notes/systemd_script_sandbox.1723589270.txt.gz · Last modified: by Sean Rhone