update systemd unit

This commit is contained in:
Alexey Avramov 2019-01-10 21:58:22 +09:00
parent c5f7c34562
commit 24bee51161

View File

@ -7,7 +7,15 @@ Documentation=man:nohang(1) https://github.com/hakavlad/nohang
ExecStart=/usr/sbin/nohang
Restart=always
RestartSec=1
IOSchedulingClass=1
IOSchedulingPriority=0
Nice=-20
CPUSchedulingPolicy=rr
CPUSchedulingPriority=99
CPUSchedulingResetOnFork=true
ProtectSystem=strict
MemoryMax=100M
TasksMax=100
[Install]
WantedBy=multi-user.target