Changes

From SME Server
Jump to navigationJump to search
8 bytes removed ,  15:26, 15 January 2016
m
→‎Installation of Letsencrypt.sh: Formatting on hook script
Line 132: Line 132:  
  #!/bin/bash
 
  #!/bin/bash
 
   
 
   
  if [ $1 -eq "deploy_cert" ]; then
+
  if [ $1 = "deploy_cert" ]; then
   KEY = $3
+
   KEY=$3
   CERT = $4
+
   CERT=$4
   CHAIN = ${5/fullchain.pem/chain.pem}
+
   CHAIN=${5/fullchain.pem/chain.pem}
 
   /sbin/e-smith/db configuration setprop modSSL key $KEY
 
   /sbin/e-smith/db configuration setprop modSSL key $KEY
 
   /sbin/e-smith/db configuration setprop modSSL crt $CERT
 
   /sbin/e-smith/db configuration setprop modSSL crt $CERT
147

edits

Navigation menu