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
|
||||
, chainPath: ':configDir/live/:hostname/chain.pem' // greenlock.js
|
||||
|
||||
, workDir: require('homedir')() + '/acme/var/lib'
|
||||
, logsDir: require('homedir')() + '/acme/var/log'
|
||||
, workDir: require('homedir')() + '/tmp/acme/lib'
|
||||
, logsDir: require('homedir')() + '/tmp/acme/log'
|
||||
|
||||
, webrootPath: '~/acme/srv/www/:hostname/.well-known/acme-challenge'
|
||||
|
||||
|
|
4
index.js
4
index.js
|
@ -103,8 +103,8 @@ function pyToJson(pyobj) {
|
|||
|
||||
var defaults = {
|
||||
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/
|
||||
, logsDir: [ os.homedir(), 'tmp', 'acme', 'log' ].join(path.sep) // /var/log/letsencrypt/
|
||||
, workDir: [ os.homedir(), 'tmp', 'acme', 'lib' ].join(path.sep) // /var/lib/letsencrypt/
|
||||
|
||||
, accountsDir: [ ':configDir', 'accounts', ':serverDir' ].join(path.sep)
|
||||
, renewalPath: [ ':configDir', 'renewal', ':hostname.conf' ].join(path.sep)
|
||||
|
|
Loading…
Reference in New Issue