Browse Source

Make sysctl ignore errors

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
pull/174/head
Timofey Titovets 3 years ago
parent
commit
602dc41f14
  1. 4
      ananicy.service

4
ananicy.service

@ -4,9 +4,9 @@ After=local-fs.target
[Service]
Type=notify
ExecStartPre=/sbin/sysctl kernel.sched_autogroup_enabled=0
ExecStartPre=/sbin/sysctl -e kernel.sched_autogroup_enabled=0
ExecStart=/usr/bin/ananicy start
ExecStopPost=/sbin/sysctl kernel.sched_autogroup_enabled=1
ExecStopPost=/sbin/sysctl -e kernel.sched_autogroup_enabled=1
Nice=19
SuccessExitStatus=143
OOMScoreAdjust=-999

Loading…
Cancel
Save