diff --git a/contrib/systemd/onedrive.service.in b/contrib/systemd/onedrive.service.in index a37103fb..f219f2ce 100644 --- a/contrib/systemd/onedrive.service.in +++ b/contrib/systemd/onedrive.service.in @@ -5,9 +5,11 @@ After=network-online.target Wants=network-online.target [Service] -# Commented out hardenings are disabled because they don't work out of the box. +# Commented out hardenings are disabled because they may not work out of the box on your distribution # If you know what you are doing please try to enable them. + ProtectSystem=full +PrivateUsers=true #PrivateDevices=true ProtectHostname=true #ProtectClock=true @@ -22,4 +24,4 @@ RestartSec=3 RestartPreventExitStatus=3 [Install] -WantedBy=default.target +WantedBy=default.target \ No newline at end of file