update default tmp dirs
This commit is contained in:
parent
0990fd24fc
commit
48bcd7a103
|
@ -24,8 +24,8 @@ var leStore = require('le-store-certbot').create({
|
||||||
, certPath: ':configDir/live/:hostname/cert.pem' // will be templated as expected by
|
, certPath: ':configDir/live/:hostname/cert.pem' // will be templated as expected by
|
||||||
, chainPath: ':configDir/live/:hostname/chain.pem' // greenlock.js
|
, chainPath: ':configDir/live/:hostname/chain.pem' // greenlock.js
|
||||||
|
|
||||||
, workDir: require('homedir')() + '/acme/var/lib'
|
, workDir: require('homedir')() + '/tmp/acme/lib'
|
||||||
, logsDir: require('homedir')() + '/acme/var/log'
|
, logsDir: require('homedir')() + '/tmp/acme/log'
|
||||||
|
|
||||||
, webrootPath: '~/acme/srv/www/:hostname/.well-known/acme-challenge'
|
, webrootPath: '~/acme/srv/www/:hostname/.well-known/acme-challenge'
|
||||||
|
|
||||||
|
|
4
index.js
4
index.js
|
@ -103,8 +103,8 @@ function pyToJson(pyobj) {
|
||||||
|
|
||||||
var defaults = {
|
var defaults = {
|
||||||
configDir: [ os.homedir(), 'letsencrypt', 'etc' ].join(path.sep) // /etc/letsencrypt/
|
configDir: [ os.homedir(), 'letsencrypt', 'etc' ].join(path.sep) // /etc/letsencrypt/
|
||||||
, logsDir: [ os.homedir(), 'letsencrypt', 'var', 'log' ].join(path.sep) // /var/log/letsencrypt/
|
, logsDir: [ os.homedir(), 'tmp', 'acme', 'log' ].join(path.sep) // /var/log/letsencrypt/
|
||||||
, workDir: [ os.homedir(), 'letsencrypt', 'var', 'lib' ].join(path.sep) // /var/lib/letsencrypt/
|
, workDir: [ os.homedir(), 'tmp', 'acme', 'lib' ].join(path.sep) // /var/lib/letsencrypt/
|
||||||
|
|
||||||
, accountsDir: [ ':configDir', 'accounts', ':serverDir' ].join(path.sep)
|
, accountsDir: [ ':configDir', 'accounts', ':serverDir' ].join(path.sep)
|
||||||
, renewalPath: [ ':configDir', 'renewal', ':hostname.conf' ].join(path.sep)
|
, renewalPath: [ ':configDir', 'renewal', ':hostname.conf' ].join(path.sep)
|
||||||
|
|
Loading…
Reference in New Issue