V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
plusDiscuss
V2EX  ›  云计算

开机自启,大家现在用 systemd 还是 supervisor ?

  •  1
     
  •   plusDiscuss · 2020-05-14 16:12:24 +08:00 · 3530 次点击
    这是一个创建于 1443 天前的主题,其中的信息可能已经有所发展或是发生改变。
    用 systemd 设置服务宕了自动重启,是怎么设置的?还是监测到宕了自动就会重启?
    (这个不清楚怎么测试,因为开机就自动重启了,不好模拟服务中途宕掉的情况)
    3 条回复    2020-05-14 16:19:25 +08:00
    sola97
        1
    sola97  
       2020-05-14 16:14:54 +08:00   ❤️ 1
    Restart=always
    Shing
        2
    Shing  
       2020-05-14 16:18:19 +08:00
    ila
        3
    ila  
       2020-05-14 16:19:25 +08:00 via Android
    @sola97 每个服务一个容器吗
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2927 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 13:58 · PVG 21:58 · LAX 06:58 · JFK 09:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.