Compare commits

..

No commits in common. "882a4e7193447370de075fa7831ceaf39cb41ad6" and "d761d054f47e46048b23d5b79c3db24c70719fc9" have entirely different histories.

2 changed files with 3 additions and 3 deletions

4
lib.cf
View File

@ -124,9 +124,9 @@ reports:
bundle agent wmde_restart_service(service_name, id) bundle agent wmde_restart_service(service_name, id)
{ {
commands: commands:
debian|centos|fedora:: debian::
"/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'";

View File

@ -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|centos:: fedora::
"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"};