migrate secrets into the database

the infra version is bumped because the nginx's dhparams path has changed
and the sftp server key path has changed.
This commit is contained in:
Girish Ramakrishnan
2021-05-02 23:28:41 -07:00
parent 4015f8fdf2
commit c17743d869
19 changed files with 195 additions and 99 deletions

View File

@@ -77,6 +77,8 @@ function onActivated(options, callback) {
assert.strictEqual(typeof options, 'object');
assert.strictEqual(typeof callback, 'function');
debug('onActivated: running post activation tasks');
// Starting the platform after a user is available means:
// 1. mail bounces can now be sent to the cloudron owner
// 2. the restore code path can run without sudo (since mail/ is non-root)