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

本文共 544 字,大约阅读时间需要 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',
}
```html
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/

你可能感兴趣的文章
Python WebSocket自动化测试:构建高效接口测试框架
查看>>
Python Web开发
查看>>
Redis 配置文件杂项。
查看>>
Python web自动化测试 —— 文件上传
查看>>
Python web自动化测试 —— 文件上传!
查看>>
Python Web自动化测试开发环境搭建(附安装包与虚拟机环境)
查看>>
python win32api键盘_Python win32api.keybd_event模拟键盘输入
查看>>
python Windows显示当前鼠标坐标
查看>>
python Workbook 表格宽度
查看>>
python | flanker,一个神奇的 Python 库!
查看>>
python | flower,一个强大的 Python 库!
查看>>
python | funcy,一个超强的 提供函数式编程工具 Python 库!
查看>>
python | ggplot,一个超强的 Python 库!
查看>>
python | grab,一个强大的 Python 库!
查看>>
python | h5py,一个无敌的关于 HDF5 的 Python 库!
查看>>
python | huey,一个非常厉害的 任务调度 Python 库!
查看>>
python | hypothesis,一个有趣的 Python 库!
查看>>
python | Indico,一个超酷的 Python 库!
查看>>
python | isort,一个有趣的 自动整理导入语句 的Python 库!
查看>>
python | jinja,一个超酷的 Python 库!
查看>>