Commit 5d13c138 authored by Florian Schlichting's avatar Florian Schlichting Committed by Max Kellermann

systemd: protect /usr when running under systemd

parent 21ef656e
......@@ -19,6 +19,9 @@ ControlGroup=cpu:/mpd
# assign a real-time budget
ControlGroupAttribute=cpu.rt_runtime_us 500000
# disallow writing to /usr, /bin, /sbin, ...
ProtectSystem=yes
[Install]
WantedBy=multi-user.target
Also=mpd.socket
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment