Date: Mon, 27 Jul 2020 20:51:08 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246623] [NEW PORT] www/caddy2 (Update to www/caddy) Message-ID: <bug-246623-7788-PR4tLZXKOk@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246623-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-246623-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246623 --- Comment #23 from Basil Hendroff <basil.hendroff@gmail.com> --- Hi Daniel An amendment to the etc/rc.d/caddy initialisation script appears to be necessary to address an issue that has been identified. For the details, pl= ease refer to https://caddy.community/t/how-to-use-the-expanded-form-of-php-fastcgi/9228.= =20 Your proposed caddy rc.d script was used as the basis for the caddy script located at https://github.com/danb35/freenas-iocage-nextcloud/blob/caddyv2/includes/ca= ddy. It includes a suggested fix for the issue described as well as other refinements you may wish to consider. These are outlined below: 1. start_cmd redirects stdout and stderr to a log file (default is /var/log/caddy.log) to address the issue identifed above. It also serves to eliminate 'console spam' 2. pidfile was defined, but not used in the master copy. It is actively use= d in this copy. 3. required files - Enables a check for the existence of the Caddy binary a= nd Caddyfile. This is a built-in check. With the check, a service caddy start = will alert the user if either of these files is missing; without it, no cue is provided. 4. Superfluous command definitions - stop and restart, as well as many other commands such as status and extracommands, are automatically supported as defined in rc(8). See https://www.freebsd.org/cgi/man.cgi?query=3Drc&sektion=3D8&manpath=3Dfreebs= d-release-ports. There doesn't appear to be any added value in including these command definitions. If anything, it makes things a little more ambiguous as it detracts from the commands that must be defined or altered i.e. start, vali= date and reload. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246623-7788-PR4tLZXKOk>