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

View File

@ -102,9 +102,9 @@ 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)