set Slice=hostcritical.slice

This commit is contained in:
Alexey Avramov 2020-09-19 22:16:27 +09:00
parent cf6b213afe
commit faf49b0023
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ After=sysinit.target
[Service]
ExecStart=:TARGET_SBINDIR:/nohang --monitor --config :TARGET_SYSCONFDIR:/nohang/nohang-desktop.conf
Slice=hostcritical.slice
SyslogIdentifier=nohang-desktop
KillMode=mixed
Restart=always

View File

@ -6,6 +6,7 @@ After=sysinit.target
[Service]
ExecStart=:TARGET_SBINDIR:/nohang --monitor --config :TARGET_SYSCONFDIR:/nohang/nohang.conf
Slice=hostcritical.slice
SyslogIdentifier=nohang
KillMode=mixed
Restart=always