@peccul is peccu

(love peccu '(emacs lisp cat outdoor bicycle mac linux coffee))

2020-12-12から1日間の記事一覧

Dockerコンテナ(Let's Encryptのcertbot)を定期的に再起動する

tl;dr entrypointにwhile sleepを仕込めばよかった entrypoint: /bin/sh -c "trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;"