1. 21 Sep, 2023 1 commit
    • Boxiang Sun's avatar
      monitor: Allow httpd to restart after the sever reboot from poweroff · 445f95a5
      Boxiang Sun authored
      If a server reboots brutally, there will be a legacy httpd pid file stay
      in the file system, and the OS may reuse the PID that remains in that
      file, which will cause httpd service to fail to start even if there is
      no such httpd service is running.
      
      This commit implemented the following logic:
      0. If there is no existing PID file, then run the httpd service directly
      1. If the PID file exists and contains the PID used by another process,
      we delete the PID file, then restart the httpd service
      2. If the PID file exists and contains the PID used by another running
      httpd service, we allow the httpd report the "already running" error
      normally
      445f95a5
  2. 04 Sep, 2023 9 commits
  3. 01 Sep, 2023 6 commits
  4. 30 Aug, 2023 1 commit
  5. 28 Aug, 2023 3 commits
  6. 23 Aug, 2023 1 commit
  7. 21 Aug, 2023 1 commit
  8. 18 Aug, 2023 2 commits
  9. 17 Aug, 2023 16 commits