Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos:server
etherpad-lite
etherpad-lite_default_config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File etherpad-lite_default_config.patch of Package etherpad-lite
Index: etherpad-lite-1.9.2/settings.json.template =================================================================== --- etherpad-lite-1.9.2.orig/settings.json.template +++ etherpad-lite-1.9.2/settings.json.template @@ -198,7 +198,7 @@ "dbType": "dirty", "dbSettings": { - "filename": "var/dirty.db" + "filename": "/var/lib/etherpad-lite/dirty.db" }, /* Index: etherpad-lite-1.9.2/src/node/utils/Settings.js =================================================================== --- etherpad-lite-1.9.2.orig/src/node/utils/Settings.js +++ etherpad-lite-1.9.2/src/node/utils/Settings.js @@ -142,7 +142,7 @@ exports.dbType = 'dirty'; /** * This setting is passed with dbType to ueberDB to set up the database */ -exports.dbSettings = {filename: path.join(exports.root, 'var/dirty.db')}; +exports.dbSettings = {filename: path.join('/var/lib/etherpad-lite/dirty.db')}; /** * The default Text of a new pad Index: etherpad-lite-1.9.2/src/bin/migrateDirtyDBtoRealDB.js =================================================================== --- etherpad-lite-1.9.2.orig/src/bin/migrateDirtyDBtoRealDB.js +++ etherpad-lite-1.9.2/src/bin/migrateDirtyDBtoRealDB.js @@ -30,7 +30,7 @@ process.on('unhandledRejection', (err) = await db.init(); console.log('Waiting for dirtyDB to parse its file.'); - const dirty = dirtyDb(`${__dirname}/../../var/dirty.db`); + const dirty = dirtyDb(`/var/lib/etherpad-lite/dirty.db`); const length = await new Promise((resolve) => { dirty.once('load', resolve); }); console.log(`Found ${length} records, processing now.`);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor