ports/security/certmgr/files/patch-certmgr_cmd_genconfig.go
Robert Clausecker 291bf56652 security/certmgr: new port
certmgr is a tool for managing certificates using CFSSL. It does the
following:

 - Ensures certificates are present.
 - Renews certificates before they expire.
 - Triggering a service reload or restart on certificate updates.

It operates on certificate specs, which are JSON files containing the
information needed to generate a certificate.

WWW: https://github.com/cloudflare/certmgr

PR:		256992
2021-07-14 10:43:50 +02:00

15 lines
501 B
Go

--- certmgr/cmd/genconfig.go.orig 2021-07-04 20:59:28 UTC
+++ certmgr/cmd/genconfig.go
@@ -15,9 +15,9 @@ import (
var force bool
const (
- defaultConfigFile = "/etc/certmgr/certmgr.yaml"
- defaultDir = "/etc/certmgr.d"
- defaultServiceManager = "systemd"
+ defaultConfigFile = "%%ETCDIR%%/certmgr.yaml"
+ defaultDir = "%%ETCDIR%%.d"
+ defaultServiceManager = "sysv"
defaultBefore = "72h"
defaultInterval = "1h"
defaultMetricsAddr = "localhost"