freebsd init: added new functionality and enabled better logging (#1740)
* uses more of the builtin functionality for starting and stopping of the process by using command and command_args along with procname * removed -f from daemon as this was hiding error message that were sent to stdout on startup, now writing stdout to the logfile directly for example, this was being hidden: “Activating privacy features.. [www.domain.com] failed to get certificate: Error presenting token: Could not find the start of authority” it now shows up in the log * aded “caddy_env” to allow the setting of environment variables that caddy might need, for example when setting creds for “DNS Challenge” * added a check to ensure caddy_config_path file exists
Showing
Please register or sign in to comment