博客
关于我
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日志 事务问题_mysql因为事务日志问题无法启动
查看>>
mysql日志文件
查看>>
mysql日志管理学习笔记
查看>>
mysql日志问题定位实用命令
查看>>
MySQL日期时间函数大全
查看>>
mysql时间相减的问题
查看>>