update nohang.service

This commit is contained in:
Alexey Avramov 2019-08-31 12:42:15 +09:00
parent 6755cce312
commit 49d6eb406b

View File

@ -4,11 +4,9 @@ Documentation=man:nohang(1) https://github.com/hakavlad/nohang
[Service] [Service]
ExecStart=:TARGET_BIN:/nohang --config :TARGET_CONF:/nohang/nohang.conf ExecStart=:TARGET_BIN:/nohang --config :TARGET_CONF:/nohang/nohang.conf
Slice=nohang.slice
Restart=always Restart=always
KillMode=mixed KillMode=mixed
MemoryMax=100M OOMPolicy=continue
TasksMax=50
Nice=-15 Nice=-15
CPUSchedulingResetOnFork=true CPUSchedulingResetOnFork=true