Move logs into platformdata/logs
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
exports = module.exports = {
|
||||
baseDir: baseDir,
|
||||
logDir: logDir,
|
||||
|
||||
// values set here will be lost after a upgrade/update. use the sqlite database
|
||||
// for persistent values that need to be backed up
|
||||
@@ -62,11 +61,6 @@ function baseDir() {
|
||||
if (exports.TEST) return path.join(homeDir, '.cloudron_test');
|
||||
}
|
||||
|
||||
function logDir() {
|
||||
if (exports.CLOUDRON) return '/var/log';
|
||||
if (exports.TEST) return path.join(homeDir, '.cloudron_test', 'log');
|
||||
}
|
||||
|
||||
var cloudronConfigFileName = path.join(baseDir(), 'configs/cloudron.conf');
|
||||
|
||||
// only tests can run without a config file on disk, they use the defaults with runtime overrides
|
||||
|
||||
Reference in New Issue
Block a user