From ab6f2cc7704ac6eb29bf3c9845a6553b0845ef02 Mon Sep 17 00:00:00 2001 From: Hendra Setiawan Date: Tue, 12 Sep 2023 20:56:07 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: MichaIng --- dietpi/dietpi-software | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dietpi/dietpi-software b/dietpi/dietpi-software index f25999b83f..6b24d707e4 100755 --- a/dietpi/dietpi-software +++ b/dietpi/dietpi-software @@ -619,7 +619,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='open source comics/mangas/ebooks media server with a built-in web reader' aSOFTWARE_CATX[$software_id]=2 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#kavita' - # - No RISC-V support yet + # - No RISC-V support yet: https://github.com/Kareadita/Kavita/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 # BitTorrent & Download @@ -6438,8 +6438,7 @@ _EOF_ if To_Install 212 kavita # Kavita then case $G_HW_ARCH in - 1) local arch='arm';; - 2) local arch='arm';; + 1|2) local arch='arm';; 3) local arch='arm64';; *) local arch='x64';; esac @@ -6459,6 +6458,8 @@ _EOF_ Description=Kavita Server (DietPi) Wants=network-online.target After=network-online.target remote-fs.target +StartLimitIntervalSec=60 +StartLimitBurst=5 [Service] SyslogIdentifier=Kavita