Concurrent Work
Rambling of a coder who craves for knowledge and understanding of the world.
All Posts
Tags
About
Bash
12
Mar 2016
使用简单shell实现服务进程的守护
Written by Dongfang Qu
有这样一种需求:假如服务(模块)进程异常退出了,自动重启它。 社区有许多成熟的方案,常用的有以下几个: daemontools 老牌supervise,c/c++社区 monit ruby社区用的多,附带比较多监控功能 commons-daemon java社区常用 akuma …