Skip to content

Commit

Permalink
Merge branch 'master' into host-ntpd
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson authored Oct 3, 2024
2 parents d12860b + ed51f07 commit 50b3f41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions provision/wildduck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ install_pm2()
configure_tls()
{
local _tls_dir="$STAGE_MNT/data/etc/tls"
if [ ! -d "$_tls_dir" ]; then mkdir "$_tls_dir" 0755; fi
if [ ! -d "$_tls_dir/certs" ]; then mkdir "$_tls_dir/certs" 0755; fi
if [ ! -d "$_tls_dir/private" ]; then mkdir "$_tls_dir/private" 0700; fi
if [ ! -d "$_tls_dir" ]; then mkdir -m 0755 "$_tls_dir" ; fi
if [ ! -d "$_tls_dir/certs" ]; then mkdir -m 0755 "$_tls_dir/certs" ; fi
if [ ! -d "$_tls_dir/private" ]; then mkdir -m 0700 "$_tls_dir/private"; fi

if [ -f "/root/.acme/$WILDDUCK_HOSTNAME/$WILDDUCK_HOSTNAME.cer" ]; then
install "/root/.acme/$WILDDUCK_HOSTNAME/fullchain.cer" "$_tls_dir/certs/$WILDDUCK_HOSTNAME.pem"
Expand Down

0 comments on commit 50b3f41

Please sign in to comment.