debug mode: make fs writable

otherwise, people have to use CLI tool.
This commit is contained in:
Girish Ramakrishnan
2021-03-26 13:20:38 -07:00
parent 3c527b7064
commit ee0c50bea2

View File

@@ -739,7 +739,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
Client.prototype.debugApp = function (id, state, callback) {
var data = {
debugMode: state ? {
readonlyRootfs: true,
readonlyRootfs: false,
cmd: [ '/bin/bash', '-c', 'echo "Repair mode. Use the webterminal or cloudron exec to repair. Sleeping" && sleep infinity' ]
} : null
};