caddy.service start request repeated too quickly

前端 未结 2 1496
小鲜肉
小鲜肉 2021-02-14 12:14

I\'m using systemd to start a caddy webserver on an ubuntu 16.04 machine. Whenever I run sudo service caddy start and service caddy status, I get this

2条回答
  •  日久生厌
    2021-02-14 13:00

    For anyone else pulling their hair out, note the lines StartLimitInterval and StartLimitBurst in the caddy.service file - if you're testing and repeatedly stop / starting you will hit the StartLimitBurst limit. Need to increase it to lots, or change the StartLimitInterval, to allow this.

提交回复
热议问题