Compare commits
No commits in common. "d93bc9a864a933d34dc8c62a69ac1b661a7f1093" and "d071696fa456dad330f427f4b262c52efbed5542" have entirely different histories.
d93bc9a864
...
d071696fa4
@ -75,7 +75,6 @@ dockerSwitcherSwap()
|
|||||||
dockerStartAllApps;
|
dockerStartAllApps;
|
||||||
databaseOptionInsert "docker_type" $CFG_DOCKER_INSTALL_TYPE;
|
databaseOptionInsert "docker_type" $CFG_DOCKER_INSTALL_TYPE;
|
||||||
switchMigrateRestoreApps;
|
switchMigrateRestoreApps;
|
||||||
restartLibrePortalWebUITaskService;
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -114,7 +113,6 @@ dockerSwitcherSwap()
|
|||||||
dockerStartAllApps;
|
dockerStartAllApps;
|
||||||
databaseOptionInsert "docker_type" $CFG_DOCKER_INSTALL_TYPE;
|
databaseOptionInsert "docker_type" $CFG_DOCKER_INSTALL_TYPE;
|
||||||
switchMigrateRestoreApps;
|
switchMigrateRestoreApps;
|
||||||
restartLibrePortalWebUITaskService;
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif [[ $flag == "cli" ]]; then
|
elif [[ $flag == "cli" ]]; then
|
||||||
|
|||||||
@ -72,16 +72,3 @@ EOF
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restart the task processor after a docker-type switch. The processor reads the
|
|
||||||
# install type (rooted/rootless) ONCE at startup to decide how runFileOp writes
|
|
||||||
# into the docker-install-owned task dir, so a running instance keeps using the
|
|
||||||
# old mode until it's bounced. The switch is a CLI one-shot (not a processor
|
|
||||||
# task), so this won't kill an in-flight switch.
|
|
||||||
restartLibrePortalWebUITaskService()
|
|
||||||
{
|
|
||||||
[[ "$CFG_REQUIREMENT_WEBUI_SERVICE" == "true" ]] || return 0
|
|
||||||
[[ -f /etc/systemd/system/libreportal.service ]] || return 0
|
|
||||||
runSystem systemctl restart libreportal.service 2>/dev/null
|
|
||||||
isSuccessful "Restarted task processor for $CFG_DOCKER_INSTALL_TYPE Docker mode"
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user