Compare commits
2 Commits
v1.1.2-bet
...
v1.1.4-bet
| Author | SHA1 | Date | |
|---|---|---|---|
| 727de333b4 | |||
| f4e7a37fa6 |
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
|||||||
VERSION := 1.1.2-beta
|
VERSION := 1.1.4-beta
|
||||||
BUILD := $(shell git rev-parse --short HEAD)
|
BUILD := $(shell git rev-parse --short HEAD)
|
||||||
|
|
||||||
GO := go
|
GO := go
|
||||||
|
|||||||
@@ -20,4 +20,8 @@ sudo certman new-domain example.com
|
|||||||
```bash
|
```bash
|
||||||
sudo certman install -mode client
|
sudo certman install -mode client
|
||||||
sudo certman new-domain example.com
|
sudo certman new-domain example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### TODO
|
||||||
|
- Add systemd units during install
|
||||||
|
- Add update command to pull from latest release
|
||||||
@@ -297,7 +297,7 @@ func AddAndPushCerts(domain string, ws *GitWorkspace, config *AppConfig, domainC
|
|||||||
func WriteCommitHash(hash string, config *AppConfig, domainConfig *DomainConfig) error {
|
func WriteCommitHash(hash string, config *AppConfig, domainConfig *DomainConfig) error {
|
||||||
var dataRoot string
|
var dataRoot string
|
||||||
if domainConfig.Certificates.DataRoot == "" {
|
if domainConfig.Certificates.DataRoot == "" {
|
||||||
dataRoot = config.Certificates.DataRoot
|
dataRoot = filepath.Join(config.Certificates.DataRoot, "certificates", domainConfig.Domain.DomainName)
|
||||||
} else {
|
} else {
|
||||||
dataRoot = domainConfig.Certificates.DataRoot
|
dataRoot = domainConfig.Certificates.DataRoot
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user