Separated functions of the Python script.

This commit is contained in:
slawek committed 2026-10-18 20:52:49 +02:00
1 parent db8a3aac8a
commit c466188c00
6 files changed
+201 -140

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash
set -euo pipefail
install -m 0644 -o root -g root "${CERT_FILE}" /etc/caddy/server_cert.pem
install -m 0640 -o root -g caddy "${KEY_FILE}" /etc/caddy/server_key.pem
install -m 0644 "${CERT_FILE}" /etc/caddy/server_cert.pem
install -m 0640 -g caddy "${KEY_FILE}" /etc/caddy/server_key.pem
systemctl reload-or-restart caddy.service