Safer script syntax
This commit is contained in:
@@ -151,7 +151,7 @@ class LetsEncryptCertificate(CertificateBackend):
|
|||||||
|
|
||||||
HOSTNAME=$(basename $RENEWED_LINEAGE)
|
HOSTNAME=$(basename $RENEWED_LINEAGE)
|
||||||
|
|
||||||
if [ $HOSTNAME = '{self.hostname}' ]
|
if [ "$HOSTNAME" = "{self.hostname}" ]
|
||||||
then
|
then
|
||||||
systemctl reload dovecot
|
systemctl reload dovecot
|
||||||
systemctl reload postfix
|
systemctl reload postfix
|
||||||
|
|||||||
Reference in New Issue
Block a user