HEX
Server: Apache
System: Linux eisbus 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/lib/dpkg/info/turnkey-ssl.postinst
#!/bin/sh -e

ETC=/etc/ssl/private
SHARE=/usr/share/turnkey-ssl

for _file in cert.key cert.pem dhparams.pem; do
    if [ ! -f "$ETC/$_file" ]; then
        cp $SHARE/$_file $ETC/
    fi
    chmod 400 $ETC/$_file
done
chmod 700 $ETC



exit 0