X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fletsencrypt%2Frenewal-hooks%2Fdeploy%2Fcertbot-renew-hook;h=1af5216488dcee125e46bbb58fe9f8a6ad100cf4;hb=HEAD;hp=f10f8187a8ba47960a0be8eb22ca0aabc421e73c;hpb=1f92f5f3fc715cc3fd55cf8aefacce9d130331de;p=distro-setup diff --git a/filesystem/etc/letsencrypt/renewal-hooks/deploy/certbot-renew-hook b/filesystem/etc/letsencrypt/renewal-hooks/deploy/certbot-renew-hook index f10f818..1af5216 100755 --- a/filesystem/etc/letsencrypt/renewal-hooks/deploy/certbot-renew-hook +++ b/filesystem/etc/letsencrypt/renewal-hooks/deploy/certbot-renew-hook @@ -1,4 +1,25 @@ #!/bin/bash +# I, Ian Kelling, follow the GNU license recommendations at +# https://www.gnu.org/licenses/license-recommendations.en.html. They +# recommend that small programs, < 300 lines, be licensed under the +# Apache License 2.0. This file contains or is part of one or more small +# programs. If a small program grows beyond 300 lines, I plan to switch +# its license to GPL. + +# Copyright 2024 Ian Kelling + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Copyright (C) 2017 Ian Kelling # Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,5 +49,6 @@ case $dir in /etc/letsencrypt/live/mail2.iankelling.org|/etc/letsencrypt/live/je.b8.nz) install -m 644 $dir/fullchain.pem /etc/exim4/exim.crt install -m 640 -g Debian-exim $dir/privkey.pem /etc/exim4/exim.key + systemctl reload dovecot ;; esac