diff --git a/README.md b/README.md index 965c3a2..c4a7352 100644 --- a/README.md +++ b/README.md @@ -86,9 +86,8 @@ To use `PSI`: ## Warnings - the daemon runs with super-user privileges and has full access to all private memory of all processes and sensitive user data; -- the daemon starts with increased priority; -- the daemon does not forbid you to shoot yourself in the foot: with some settings, unwanted mass killings of processes can occur. -- the daemon is not a panacea: there are no universal settings that reliably protect against all types of threats; +- the daemon does not forbid you to shoot yourself in the foot: with some settings, unwanted mass killings of processes can occur; +- the daemon is not a panacea: there are no universal settings that reliably protect against all types of threats. ## Known problems diff --git a/nohang/nohang-desktop.service.in b/nohang/nohang-desktop.service.in index 586c718..258bc6a 100644 --- a/nohang/nohang-desktop.service.in +++ b/nohang/nohang-desktop.service.in @@ -11,12 +11,12 @@ KillMode=mixed Restart=always RestartSec=0 -Nice=-5 CPUSchedulingResetOnFork=true RestrictRealtime=yes TasksMax=20 -MemoryMax=200M +MemoryMax=100M +MemorySwapMax=100M UMask=0027 ProtectSystem=strict diff --git a/nohang/nohang.service.in b/nohang/nohang.service.in index e99eb35..f886c25 100644 --- a/nohang/nohang.service.in +++ b/nohang/nohang.service.in @@ -11,12 +11,12 @@ KillMode=mixed Restart=always RestartSec=0 -Nice=-5 CPUSchedulingResetOnFork=true RestrictRealtime=yes TasksMax=20 -MemoryMax=200M +MemoryMax=100M +MemorySwapMax=100M UMask=0027 ProtectSystem=strict