Compare commits
2 Commits
d761d054f4
...
882a4e7193
Author | SHA1 | Date |
---|---|---|
Tube | 882a4e7193 | |
Tube | 2c6466b3b1 |
4
lib.cf
4
lib.cf
|
@ -124,9 +124,9 @@ reports:
|
||||||
bundle agent wmde_restart_service(service_name, id)
|
bundle agent wmde_restart_service(service_name, id)
|
||||||
{
|
{
|
||||||
commands:
|
commands:
|
||||||
debian::
|
debian|centos|fedora::
|
||||||
"/bin/sh -c "
|
"/bin/sh -c "
|
||||||
args => "'/bin/echo $(id) > /dev/null && /usr/bin/systemctl restart $(service_name)'";
|
args => "'/bin/echo $(id) > /dev/null && /usr/bin/systemctl restart $(service_name)'";
|
||||||
freebsd::
|
freebsd::
|
||||||
"/bin/sh -c "
|
"/bin/sh -c "
|
||||||
args => "'/bin/echo $(id) > /dev/null && /usr/sbin/service $(service_name) onerestart'";
|
args => "'/bin/echo $(id) > /dev/null && /usr/sbin/service $(service_name) onerestart'";
|
||||||
|
|
2
mysql.cf
2
mysql.cf
|
@ -39,7 +39,7 @@ vars:
|
||||||
"default_datadir" string => "/var/lib/mysql";
|
"default_datadir" string => "/var/lib/mysql";
|
||||||
"mysqld_cmd" string => "/usr/sbin/mysqld";
|
"mysqld_cmd" string => "/usr/sbin/mysqld";
|
||||||
|
|
||||||
fedora::
|
fedora|centos::
|
||||||
"user" string => "mysql";
|
"user" string => "mysql";
|
||||||
"server_pkgs" slist => {"mariadb-server"};
|
"server_pkgs" slist => {"mariadb-server"};
|
||||||
"client_pkgs" slist => {"mariadb-client"};
|
"client_pkgs" slist => {"mariadb-client"};
|
||||||
|
|
Loading…
Reference in New Issue