Update systemd units
This commit is contained in:
parent
22ac9833bc
commit
c3c0b510a8
@ -2,7 +2,7 @@
|
||||
Description=Sophisticated low memory handler
|
||||
Documentation=man:nohang(8) https://github.com/hakavlad/nohang
|
||||
Conflicts=nohang.service
|
||||
After=system.slice
|
||||
After=sysinit.target
|
||||
|
||||
[Service]
|
||||
ExecStart=:TARGET_SBINDIR:/nohang --monitor --config :TARGET_SYSCONFDIR:/nohang/nohang-desktop.conf
|
||||
@ -26,6 +26,7 @@ ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectControlGroups=true
|
||||
PrivateDevices=true
|
||||
PrivateTmp=true
|
||||
MemoryDenyWriteExecute=yes
|
||||
RestrictNamespaces=yes
|
||||
LockPersonality=yes
|
||||
|
@ -2,7 +2,7 @@
|
||||
Description=Sophisticated low memory handler
|
||||
Documentation=man:nohang(8) https://github.com/hakavlad/nohang
|
||||
Conflicts=nohang-desktop.service
|
||||
After=system.slice
|
||||
After=sysinit.target
|
||||
|
||||
[Service]
|
||||
ExecStart=:TARGET_SBINDIR:/nohang --monitor --config :TARGET_SYSCONFDIR:/nohang/nohang.conf
|
||||
@ -26,6 +26,7 @@ ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectControlGroups=true
|
||||
PrivateDevices=true
|
||||
PrivateTmp=true
|
||||
MemoryDenyWriteExecute=yes
|
||||
RestrictNamespaces=yes
|
||||
LockPersonality=yes
|
||||
|
Loading…
Reference in New Issue
Block a user