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

你可能感兴趣的文章
Node.js 文件系统的各种用法和常见场景
查看>>
Node.js 模块系统的原理、使用方式和一些常见的应用场景
查看>>
Node.js 的事件循环(Event Loop)详解
查看>>
node.js 简易聊天室
查看>>
Node.js 线程你理解的可能是错的
查看>>