Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: MichaIng <micha@dietpi.com>
  • Loading branch information
drahen and MichaIng committed Sep 20, 2023
1 parent 4b0c7db commit ab6f2cc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ab6f2cc

Please sign in to comment.