diff --git a/Makefile b/Makefile index 3f7b4d9..f90d9b6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := 1.1.2-beta +VERSION := 1.1.3-beta BUILD := $(shell git rev-parse --short HEAD) GO := go diff --git a/README.md b/README.md index 5f0a12e..1a98843 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,7 @@ sudo certman new-domain example.com ```bash sudo certman install -mode client sudo certman new-domain example.com -``` \ No newline at end of file +``` + +### TODO + - Add systemd units during install \ No newline at end of file diff --git a/common/git.go b/common/git.go index 280a32e..645b710 100644 --- a/common/git.go +++ b/common/git.go @@ -297,7 +297,7 @@ func AddAndPushCerts(domain string, ws *GitWorkspace, config *AppConfig, domainC func WriteCommitHash(hash string, config *AppConfig, domainConfig *DomainConfig) error { var dataRoot string if domainConfig.Certificates.DataRoot == "" { - dataRoot = config.Certificates.DataRoot + dataRoot = filepath.Join(config.Certificates.DataRoot, domainConfig.Domain.DomainName) } else { dataRoot = domainConfig.Certificates.DataRoot }