VestaCP - установка и настройка monit на CentOS 7: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Admin iph (обсуждение | вклад) |
Admin iph (обсуждение | вклад) |
||
Строка 19: | Строка 19: | ||
# cat mysql.conf | # cat mysql.conf | ||
check process mysql with pidfile /var/run/mariadb/mariadb.pid | check process mysql with pidfile /var/run/mariadb/mariadb.pid | ||
− | start program = "/usr/bin/systemctl start | + | start program = "/usr/bin/systemctl start mariadb.service" |
− | stop program = "/usr/bin/systemctl stop | + | stop program = "/usr/bin/systemctl stop mariadb.service" |
Версия 21:33, 30 июля 2016
VestaCP - установка и настройка monit на CentOS 7
# yum install monit git -y # systemctl enable monit
# cd /etc/monit.d/ # git clone https://github.com/shapilokk/vesta-centos7-monit.git ./ && rm -f README.md # systemctl restart monit
Все конфиги для поднятия основных сервисов на месте:
crond.conf httpd.conf memcached.conf nginx.conf sshd.conf vesta-php.conf exim.conf logging mysql.conf postgresql.conf vesta-nginx.conf vsftpd.conf
# cat mysql.conf check process mysql with pidfile /var/run/mariadb/mariadb.pid start program = "/usr/bin/systemctl start mariadb.service" stop program = "/usr/bin/systemctl stop mariadb.service"