copy/paste-o live -> archive
This commit is contained in:
parent
1e2f559c2e
commit
806a80e3e5
|
@ -104,7 +104,7 @@ function getCertificateAsync(account, args, defaults, handlers) {
|
||||||
|| obj.privkey || obj.keyPath
|
|| obj.privkey || obj.keyPath
|
||||||
|| path.join(liveDir, 'privkey.pem');
|
|| path.join(liveDir, 'privkey.pem');
|
||||||
|
|
||||||
var archiveDir = args.archiveDir || path.join(args.configDir, 'live', args.domains[0]);
|
var archiveDir = args.archiveDir || path.join(args.configDir, 'archive', args.domains[0]);
|
||||||
|
|
||||||
var checkpoint = obj.checkpoint.toString();
|
var checkpoint = obj.checkpoint.toString();
|
||||||
var certArchive = path.join(archiveDir, 'cert' + checkpoint + '.pem');
|
var certArchive = path.join(archiveDir, 'cert' + checkpoint + '.pem');
|
||||||
|
|
Loading…
Reference in New Issue