acme-deploy-helpers/pikvm_reload.sh

8 lines
198 B
Bash
Executable File

#!/bin/bash
cert_location='/etc/kvmd/nginx/ssl'
for cert_file in 'server.crt' 'server.key'; do
chmod -v '0444' "${cert_location%/}"'/'"${cert_file}"
done
systemctl restart kvmd-nginx.service
ro