Browse Source

Fixed typos

bugfixes
gau1991 10 years ago
parent
commit
cbe61cd2c0
  1. 10
      ee/cli/plugins/stack.py

10
ee/cli/plugins/stack.py

@ -564,9 +564,8 @@ class EEStackController(CementBaseController):
EEShellExec.cmd_exec(self, "adduser --uid 5000 --home /var" EEShellExec.cmd_exec(self, "adduser --uid 5000 --home /var"
"/vmail --disabled-password --gecos " "/vmail --disabled-password --gecos "
"'' vmail") "'' vmail")
except CommandExecutionError as e: except CommandExecutionError as e:
Log.error(self, "Unable to add vmail user for mail " Log.error(self, "Unable to add vmail user for mail server")
"server")
try: try:
EEShellExec.cmd_exec(self, "openssl req -new -x509 -days" EEShellExec.cmd_exec(self, "openssl req -new -x509 -days"
" 3650 " " 3650 "
@ -577,9 +576,8 @@ class EEStackController(CementBaseController):
"/etc/ssl/private/dovecot.pem" "/etc/ssl/private/dovecot.pem"
.format(hostname=EEVariables.ee_fqdn, .format(hostname=EEVariables.ee_fqdn,
email=EEVariables.ee_email)) email=EEVariables.ee_email))
except CommandExecutionError as e: except CommandExecutionError as e:
Log.error(self, "Unable to generate PEM key for " Log.error(self, "Unable to generate PEM key for dovecot")
"dovecot")
Log.debug(self, "Setting Privileges to " Log.debug(self, "Setting Privileges to "
"/etc/ssl/private/dovecot.pem file ") "/etc/ssl/private/dovecot.pem file ")
EEFileUtils.chmod(self, "/etc/ssl/private/dovecot.pem", "0600") EEFileUtils.chmod(self, "/etc/ssl/private/dovecot.pem", "0600")

Loading…
Cancel
Save