diff --git a/nohang/nohang-desktop.service.in b/nohang/nohang-desktop.service.in index da2640f..1bad47c 100644 --- a/nohang/nohang-desktop.service.in +++ b/nohang/nohang-desktop.service.in @@ -6,14 +6,16 @@ After=system.slice [Service] ExecStart=:TARGET_BIN:/nohang --config :TARGET_CONF:/nohang/nohang-desktop.conf +SyslogIdentifier=nohang-desktop Restart=always RestartSec=0 KillMode=mixed TasksMax=100 -Nice=-15 +Nice=-5 CPUSchedulingResetOnFork=true -OOMScoreAdjust=-10 +OOMScoreAdjust=-5 UMask=0027 +PrivateNetwork=true PrivateTmp=true RestrictRealtime=yes MemoryDenyWriteExecute=yes diff --git a/nohang/nohang.service.in b/nohang/nohang.service.in index 90f86f1..a2e6add 100644 --- a/nohang/nohang.service.in +++ b/nohang/nohang.service.in @@ -5,14 +5,16 @@ After=system.slice [Service] ExecStart=:TARGET_BIN:/nohang --config :TARGET_CONF:/nohang/nohang.conf +SyslogIdentifier=nohang Restart=always RestartSec=0 KillMode=mixed TasksMax=100 -Nice=-15 +Nice=-5 CPUSchedulingResetOnFork=true -OOMScoreAdjust=-10 +OOMScoreAdjust=-5 UMask=0027 +PrivateNetwork=true PrivateTmp=true RestrictRealtime=yes MemoryDenyWriteExecute=yes