update systemd service unit files

This commit is contained in:
Alexey Avramov 2020-04-05 01:02:17 +09:00
parent 18f90d7a8c
commit 8ae58248d0
3 changed files with 6 additions and 7 deletions

View File

@ -86,9 +86,8 @@ To use `PSI`:
## Warnings ## 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 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 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 is not a panacea: there are no universal settings that reliably protect against all types of threats;
## Known problems ## Known problems

View File

@ -11,12 +11,12 @@ KillMode=mixed
Restart=always Restart=always
RestartSec=0 RestartSec=0
Nice=-5
CPUSchedulingResetOnFork=true CPUSchedulingResetOnFork=true
RestrictRealtime=yes RestrictRealtime=yes
TasksMax=20 TasksMax=20
MemoryMax=200M MemoryMax=100M
MemorySwapMax=100M
UMask=0027 UMask=0027
ProtectSystem=strict ProtectSystem=strict

View File

@ -11,12 +11,12 @@ KillMode=mixed
Restart=always Restart=always
RestartSec=0 RestartSec=0
Nice=-5
CPUSchedulingResetOnFork=true CPUSchedulingResetOnFork=true
RestrictRealtime=yes RestrictRealtime=yes
TasksMax=20 TasksMax=20
MemoryMax=200M MemoryMax=100M
MemorySwapMax=100M
UMask=0027 UMask=0027
ProtectSystem=strict ProtectSystem=strict