v2.0.5
This commit is contained in:
parent
e064df8a38
commit
c81d965c71
7
index.js
7
index.js
|
@ -5,6 +5,7 @@ var mkdirpAsync = PromiseA.promisify(require('mkdirp'));
|
|||
var path = require('path');
|
||||
var fs = PromiseA.promisifyAll(require('fs'));
|
||||
var sfs = require('safe-replace');
|
||||
var os = require('os');
|
||||
|
||||
function log(debug) {
|
||||
if (debug) {
|
||||
|
@ -100,9 +101,9 @@ function pyToJson(pyobj) {
|
|||
}
|
||||
|
||||
var defaults = {
|
||||
configDir: [ '~', 'letsencrypt', 'etc' ].join(path.sep) // /etc/letsencrypt/
|
||||
, logsDir: [ '~', 'letsencrypt', 'var', 'log' ].join(path.sep) // /var/log/letsencrypt/
|
||||
, workDir: [ '~', 'letsencrypt', 'var', 'lib' ].join(path.sep) // /var/lib/letsencrypt/
|
||||
configDir: [ os.homedir(), 'letsencrypt', 'etc' ].join(path.sep) // /etc/letsencrypt/
|
||||
, logsDir: [ os.homedir(), 'letsencrypt', 'var', 'log' ].join(path.sep) // /var/log/letsencrypt/
|
||||
, workDir: [ os.homedir(), 'letsencrypt', 'var', 'lib' ].join(path.sep) // /var/lib/letsencrypt/
|
||||
|
||||
, accountsDir: [ ':configDir', 'accounts', ':serverDir' ].join(path.sep)
|
||||
, renewalPath: [ ':configDir', 'renewal', ':hostname.conf' ].join(path.sep)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "le-store-certbot",
|
||||
"version": "2.0.3",
|
||||
"version": "2.0.5",
|
||||
"description": "The \"certbot\" storage strategy for node-letsencrypt",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue