mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
Add support for NetBSD (#8033)
* Add support for NetBSD by telling certbot-nginx where the nginx configuration directory is. * Update the CHANGELOG. * Pass the right type of sequence to "in". Thanks lint. * Adjust the CHANGELOG.md entry following feedback from ohemorange. Co-authored-by: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
This commit is contained in:
parent
d135e6140b
commit
2f6fbe9987
2 changed files with 4 additions and 1 deletions
|
|
@ -3,9 +3,12 @@ import platform
|
|||
|
||||
FREEBSD_DARWIN_SERVER_ROOT = "/usr/local/etc/nginx"
|
||||
LINUX_SERVER_ROOT = "/etc/nginx"
|
||||
PKGSRC_SERVER_ROOT = "/usr/pkg/etc/nginx"
|
||||
|
||||
if platform.system() in ('FreeBSD', 'Darwin'):
|
||||
server_root_tmp = FREEBSD_DARWIN_SERVER_ROOT
|
||||
elif platform.system() in ('NetBSD',):
|
||||
server_root_tmp = PKGSRC_SERVER_ROOT
|
||||
else:
|
||||
server_root_tmp = LINUX_SERVER_ROOT
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
|
|||
|
||||
### Added
|
||||
|
||||
*
|
||||
* Add minimal code to run Nginx plugin on NetBSD.
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue