Persist all configuration settings across upgrades. Restart wifi-p2p if neccessary.

This commit is contained in:
Robin Davies
2024-08-27 14:55:48 -04:00
parent 722ef456bc
commit 06ebfb0bce
15 changed files with 340 additions and 201 deletions
+20 -14
View File
@@ -1,33 +1,39 @@
{
// DO NOT EDIT THIS FILE
//
// THIS FILE CONTAINS DEFAULT VALUES AS SET BY THE INSTALLER, AND IS OVERWRITTEN BY
// UPGRADES.
//
// If you wish to customize any of these values, see /var/pipedal/config/config.json
/* A writable directory in which state files can be stored, preferrably only by the server process. */
"local_storage_path": "/var/pipedal",
/* One or more directories containing LV2 plugins, seperated by ':' */
"lv2_path": "/usr/lib/lv2:/usr/local/lib/lv2:/usr/modep/lv2",
/* A writable directory in which state files can be stored, preferrably only by the server process. */
"local_storage_path": "/var/pipedal",
/* whether to lock a process pages into memroy. should be true unless running on a very memory constrained system.
Setting to false will cause unpredictable audio dropouts.
/* whether to lock a process pages into memor. should be true unless running on a very memory constrained system.
Setting to false may cause unpredictable audio dropouts.
*/
"mlock": true,
/* Address on which Piddle listens for websocket connections */
"socketServerAddress": "0.0.0.0:80",
/* Number of threads to use for servicing websockets */
"threads" : 5,
/* Address on which the web server listens for http requests. */
"socketServerAddress": "0.0.0.0:80",
/* Whether to log individual http requests. (inadvisable) */
"logHttpRequests": false,
/* Log level for the web server */
/* { None=0,Error =1,Warning =2,Info = 3, Debug=4} */
"logLevel": 3,
/* Maximum filesize to allow when uploading */
"maxUploadSize": 536870912,
/* Provide access point capture redirects on this gateway. -- provides automatic browser launching on Access Point access.
(not implemented)
*/
"accessPointGateway": "172.24.1.0/24",
"accessPointServerAddress": "172.24.1.1"
"maxUploadSize": 536870912 // 512MiB
}