update nohang.service
This commit is contained in:
parent
422702fa8d
commit
4601b93242
@ -5,10 +5,19 @@ 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
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=0
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
OOMPolicy=continue
|
|
||||||
Nice=-15
|
Nice=-15
|
||||||
CPUSchedulingResetOnFork=true
|
CPUSchedulingResetOnFork=true
|
||||||
|
OOMScoreAdjust=-10
|
||||||
|
RestrictRealtime=yes
|
||||||
|
RestrictSUIDSGID=yes
|
||||||
|
MemoryDenyWriteExecute=yes
|
||||||
|
SystemCallFilter=~@mount
|
||||||
|
ProtectSystem=full
|
||||||
|
ProtectControlGroups=true
|
||||||
|
ProtectKernelModules=true
|
||||||
|
ProtectKernelTunables=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user