user-access/rootfs/etc/cont-init.d/02-dhparam

6 lines
156 B
Plaintext

#!/usr/bin/with-contenv sh
if [ ! -f /etc/proftpd/keys/dhparams.pem ]; then
openssl dhparam -outform PEM -5 nbits >> /etc/proftpd/keys/dhparams.pem
fi