mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Add POST /api/teleporter to upload and install backed up configuration
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -55,6 +55,7 @@ void *DB_thread(void *val)
|
||||
{
|
||||
// Set thread name
|
||||
thread_names[DB] = "database";
|
||||
thread_running[DB] = true;
|
||||
prctl(PR_SET_NAME, thread_names[DB], 0, 0, 0);
|
||||
|
||||
// Save timestamp as we do not want to store immediately
|
||||
@@ -183,5 +184,6 @@ void *DB_thread(void *val)
|
||||
dbclose(&db);
|
||||
|
||||
log_info("Terminating database thread");
|
||||
thread_running[DB] = false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user