так, памятка чтобы системд вечно рестартил сервис
Необходимо, но не достаточно restart=always :
The default limit is to allow 5 restarts in a 10sec period. If a service goes over that threshold due to the Restart= config option in the service definition, it will not attempt to restart any further.
The rates are configured with the StartLimitIntervalSec= and StartLimitBurst= options and the Restart= option controls when SystemD tries to restart a service.
Комментариев нет:
Отправить комментарий