Recommended Services
› Amazon Web Services
› LeanCloud
› New Relic
› ClearDB
plusDiscuss
V2EX  ›  云计算

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

  •  1
     
  •   plusDiscuss · May 14, 2020 · 4433 views
    This topic created in 2365 days ago, the information mentioned may be changed or developed.
    用 systemd 设置服务宕了自动重启,是怎么设置的?还是监测到宕了自动就会重启?
    (这个不清楚怎么测试,因为开机就自动重启了,不好模拟服务中途宕掉的情况)
    3 replies  •  2020-05-14 16:19:25 +08:00
    sola97
    sola97
    May 14, 2020❤️1
    1
    Restart=always
    ila
    ila
    May 14, 2020 via Android
    3
    @sola97 每个服务一个容器吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1296 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:35 · PVG 04:35 · LAX 12:35 · JFK 15:35
    ♥ Do have faith in what you're doing.