This commit is contained in:
Alexey Avramov 2019-03-29 14:37:13 +09:00
parent 5f421159eb
commit 37dca8c138
2 changed files with 7 additions and 4 deletions

5
nohang
View File

@ -43,7 +43,10 @@ else:
root = False
notify_helper_path = './nohang_notify_helper'
if os.path.exists('./nohang_notify_helper'):
notify_helper_path = './nohang_notify_helper'
else:
notify_helper_path = '/usr/sbin/nohang_notify_helper'
victim_dict = dict()

View File

@ -319,12 +319,12 @@ $ETC apache2 /// systemctl restart apache2
See also wiki.archlinux.org/index.php/Desktop_notifications
Valid values are True and False.
gui_notifications = True
gui_notifications = False
Enable GUI notifications about the low level of available memory.
Valid values are True and False.
gui_low_memory_warnings = True
gui_low_memory_warnings = False
Execute the command instead of sending GUI notifications if the value is
not empty line. For example:
@ -388,7 +388,7 @@ print_total_stat = True
Печатать таблицу процессов перед каждым корректирующим действием.
print_proc_table = True
print_proc_table = False
print_victim_info = True