Automatically restarting kiwix container when new zim is downloaded using new Controller.

This commit is contained in:
Roland 2025-12-19 17:00:53 -07:00
parent d703bdc268
commit 7183cf5e85
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
5 changed files with 23 additions and 25 deletions

View file

@ -153,16 +153,6 @@ export const OutdatedZimsMessage = ({onClick}) => {
</Message>
}
export const KiwixRestartMessage = () => {
return <WarningMessage>
<Message.Header>Kiwix must be restarted</Message.Header>
<p>New Zim files have been downloaded; you must restart your containers.</p>
<p>Run the following to restart your containers:</p>
<pre> docker-compose restart</pre>
</WarningMessage>
}
const ZimSearchEntry = ({zimId, onTag, onUntag, entry}) => {
const {path, title, headline, tag_names} = entry;
const [open, setOpen] = React.useState(false);