# HG changeset patch # User Kim Alvefur # Date 1397511686 -7200 # Node ID e0713386319ab31ee1583e3da6adae430d972de9 # Parent 524060125f9c499cef7be91cfc3d228f9b281d95 certmanager: Wrap long line and add comment diff -r 524060125f9c -r e0713386319a core/certmanager.lua --- a/core/certmanager.lua Mon Apr 14 23:34:35 2014 +0200 +++ b/core/certmanager.lua Mon Apr 14 23:41:26 2014 +0200 @@ -81,7 +81,11 @@ user_ssl_config[option] = default_value; end end - user_ssl_config.password = user_ssl_config.password or function() log("error", "Encrypted certificate for %s requires 'ssl' 'password' to be set in config", host); end; + + -- We can't read the password interactively when daemonized + user_ssl_config.password = user_ssl_config.password or + function() log("error", "Encrypted certificate for %s requires 'ssl' 'password' to be set in config", host); end; + for option in pairs(path_options) do if type(user_ssl_config[option]) == "string" then user_ssl_config[option] = resolve_path(config_path, user_ssl_config[option]);