V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
SevenJ
V2EX  ›  问与答

Linux 下的服务/进程管理有推荐么,目前想到的

  •  
  •   SevenJ · 2016-04-06 16:28:07 +08:00 · 2591 次点击
    这是一个创建于 2935 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Linux 下的服务 /进程管理有推荐么,目前想到的有 upstart 和 runit ,目前用的是 centos6 ,但是没有迁移到 centos7 的计划,所以 systemd 就不在考虑的范围内
    8 条回复    2016-04-07 08:02:55 +08:00
    clino
        1
    clino  
       2016-04-06 17:02:56 +08:00
    supervisor 属于这类的吗?
    julyclyde
        2
    julyclyde  
       2016-04-06 17:52:31 +08:00
    upstart 和 init 没什么区别吧,只管杀不管埋的
    真正能保持进程在运行,主要是进程死了能重生的,肯定要监听 CHLD 信号啊
    systemd 、 python-supervisor 、 daemontools 之类的
    cxyfreedom
        3
    cxyfreedom  
       2016-04-06 17:54:10 +08:00
    supervisor 吧
    zcoder
        4
    zcoder  
       2016-04-06 19:56:19 +08:00
    supervisor 和 crontab 一般就够了。 rundeck 也不错
    SevenJ
        5
    SevenJ  
    OP
       2016-04-06 21:02:56 +08:00
    @zcoder rundeck 看来和 jenkins 没啥区别,都是通过脚本自动化一些任务
    SevenJ
        6
    SevenJ  
    OP
       2016-04-06 21:05:56 +08:00
    @cxyfreedom 用过 supervisor + nodejs , google 了下好像老外用 runit 用的多
    skydiver
        7
    skydiver  
       2016-04-06 21:20:22 +08:00 via iPad
    daemontools ,或者 supervisord
    oglop
        8
    oglop  
       2016-04-07 08:02:55 +08:00 via Android
    perp 算么?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2915 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 02:57 · PVG 10:57 · LAX 19:57 · JFK 22:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.