Foxes for fedora and CentOS
This commit is contained in:
parent
d761d054f4
commit
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'";
|
||||||
|
|
Loading…
Reference in New Issue