This commit is contained in:
Michel Roegl-Brunner 2025-01-09 15:56:59 +01:00 committed by GitHub
parent 986bcaaa0d
commit c9115da871
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 8 deletions

View File

@ -14,22 +14,25 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y imagemagick xvfb libxcomposite1
$STD apt-get install -y \
sudo \
curl \
mc \
imagemagick \
xvfb \
libxcomposite1
msg_ok "Installed Dependencies"
msg_info "Installing Calibre (latest)"
msg_info "Installing Calibre"
# If your container runs as root, you generally do not need to prefix with `sudo`.
# The official Calibre instructions:
wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin
msg_ok "Installed Calibre"
msg_info "Creating calibre system user & directories"
useradd -c "Calibre Server" -d /opt/calibre -s /bin/bash -m calibre
mkdir -p /opt/calibre/calibre-library
chown -R calibre:calibre /opt/calibre
msg_ok "Created calibre user & directories"
msg_ok "Installed Calibre"
msg_info "Creating systemd service"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/calibre-server.service
[Unit]
Description=Calibre Content Server

View File

@ -12,7 +12,7 @@
"documentation": null,
"website": "https://calibre-ebook.com",
"logo": "https://calibre-ebook.com/resources/icons/calibre_icon.png",
"description": "Calibre content server is usedto manage and serve eBooks over the network.",
"description": "Calibre content server is used to manage and serve eBooks over the network.",
"install_methods": [
{
"type": "default",