This commit is contained in:
Alexey Avramov 2018-08-09 04:36:47 +09:00
parent 76fcc0aad1
commit 8cb902e9d1
2 changed files with 3 additions and 4 deletions

View File

@ -48,7 +48,7 @@ avoid_factor = 3
SIGTERM signal.
execute_the_command = False
$ETC proc_name /// some command
$ETC name /// some command
#####################################################################
@ -71,7 +71,7 @@ mlockall = False
niceness = -15
oom_score_adj = -100
realtime_ionice = True
realtime_ionice_classdata = 5
realtime_ionice_classdata = 4
#####################################################################

View File

@ -181,7 +181,7 @@ execute_the_command = False
$ETC mysqld /// systemctl restart mariadb.service &
$ETC php-fpm7.0 /// systemctl restart php7.0-fpm.service
$ETC proc_name /// some command
$ETC name /// some command
#####################################################################
@ -189,7 +189,6 @@ $ETC proc_name /// some command
- OOM prevention results and
- low memory warnings
Включение этой опции требует наличия notify-send в системе.
В Debian/Ubuntu это обеспечивается установкой пакета
libnotify-bin. В Fedora и Arch Linux - пакет libnotify.