博客
关于我
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/

你可能感兴趣的文章
mysql之连接查询,多表连接
查看>>
mysql乐观锁总结和实践 - 青葱岁月 - ITeye博客
查看>>
mysql也能注册到eureka_SpringCloud如何向Eureka中进行注册微服务-百度经验
查看>>