mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 10:55:10 +00:00
Update
This commit is contained in:
parent
986bcaaa0d
commit
c9115da871
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user