update default tmp dirs

This commit is contained in:
AJ ONeal 2018-05-12 22:03:06 -06:00
parent 0990fd24fc
commit 48bcd7a103
2 changed files with 5 additions and 5 deletions

View File

@ -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'

View File

@ -102,9 +102,9 @@ 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/
configDir: [ os.homedir(), 'letsencrypt', 'etc' ].join(path.sep) // /etc/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)