Disable PrivateDevices in systemd as it doesn't work for some devices (#1990)

This commit is contained in:
magikstm 2018-02-03 13:13:23 -05:00 committed by Matt Holt
parent e20779e405
commit fd3fafa50c

View File

@ -30,8 +30,8 @@ LimitNPROC=512
; Use private /tmp and /var/tmp, which are discarded after caddy stops.
PrivateTmp=true
; Use a minimal /dev
PrivateDevices=true
; Use a minimal /dev (May bring additional security if switched to 'true', but it may not work on Raspberry Pi's or other devices, so it has been disabled in this dist.)
PrivateDevices=false
; Hide /home, /root, and /run/user. Nobody will steal your SSH-keys.
ProtectHome=true
; Make /usr, /boot, /etc and possibly some more folders read-only.