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