博客
关于我
puppet确保程序运行
阅读量:599 次
发布时间:2019-03-12

本文共 253 字,大约阅读时间需要 1 分钟。

exec {    'keep-nginx-running' :                user    => 'root',                unless  => 'ps -x | grep nginx|grep -v grep',                command => 'systemctl start nginx.service',                path   => '/usr/bin:/usr/sbin:/sbin:/bin',        }

转载地址:http://ivbxz.baihongyu.com/

你可能感兴趣的文章