summaryrefslogtreecommitdiff
path: root/files/on_renew.sh
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-01-07 14:08:57 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-01-07 14:08:57 +0000
commit4a68510bac93a8d824e8634dc01ef25d21faddce (patch)
tree55a6fd1861736451da2e52b1ca20d6e8e6583d78 /files/on_renew.sh
parent664d581eb277c4be8d257906b6455bcba7860093 (diff)
Ensure certificates are installed
This commit ensures certificates are installed, via Lets Encrypt.
Diffstat (limited to 'files/on_renew.sh')
-rwxr-xr-xfiles/on_renew.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/on_renew.sh b/files/on_renew.sh
new file mode 100755
index 0000000..7f710ae
--- /dev/null
+++ b/files/on_renew.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
+#
+# SPDX-License-Identifier: AGPL-3.0-only
+
+/usr/bin/prosodyctl --root cert import /etc/letsencrypt/live