mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-14 11:49:16 +00:00
small fixes
This commit is contained in:
parent
265f5b8d7a
commit
5971bc76f3
@ -96,4 +96,4 @@ description
|
|||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${APP} should be reachable by going to the following URL.
|
echo -e "${APP} should be reachable by going to the following URL.
|
||||||
${BL}http://${IP}:8080${CL} \n"
|
${BL}http://${IP}:8080${CL} \n"
|
@ -16,7 +16,7 @@ update_os
|
|||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
wget \
|
sudo \
|
||||||
mc
|
mc
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
@ -28,6 +28,7 @@ wget -q https://github.com/glanceapp/glance/releases/download/v${RELEASE}/glance
|
|||||||
mkdir /opt/glance
|
mkdir /opt/glance
|
||||||
tar -xzf glance-linux-amd64.tar.gz -C /opt/glance
|
tar -xzf glance-linux-amd64.tar.gz -C /opt/glance
|
||||||
cat <<EOF >/opt/glance/glance.yml
|
cat <<EOF >/opt/glance/glance.yml
|
||||||
|
#Documentation link https://github.com/glanceapp/glance/blob/main/docs/configuration.md
|
||||||
pages:
|
pages:
|
||||||
- name: Startpage
|
- name: Startpage
|
||||||
width: slim
|
width: slim
|
||||||
@ -39,29 +40,6 @@ pages:
|
|||||||
- type: search
|
- type: search
|
||||||
autofocus: true
|
autofocus: true
|
||||||
|
|
||||||
- type: monitor
|
|
||||||
cache: 1m
|
|
||||||
title: Services
|
|
||||||
sites:
|
|
||||||
- title: Jellyfin
|
|
||||||
url: https://yourdomain.com/
|
|
||||||
icon: si:jellyfin
|
|
||||||
- title: Gitea
|
|
||||||
url: https://yourdomain.com/
|
|
||||||
icon: si:gitea
|
|
||||||
- title: qBittorrent # only for Linux ISOs, of course
|
|
||||||
url: https://yourdomain.com/
|
|
||||||
icon: si:qbittorrent
|
|
||||||
- title: Immich
|
|
||||||
url: https://yourdomain.com/
|
|
||||||
icon: si:immich
|
|
||||||
- title: AdGuard Home
|
|
||||||
url: https://yourdomain.com/
|
|
||||||
icon: si:adguard
|
|
||||||
- title: Vaultwarden
|
|
||||||
url: https://yourdomain.com/
|
|
||||||
icon: si:vaultwarden
|
|
||||||
|
|
||||||
- type: bookmarks
|
- type: bookmarks
|
||||||
groups:
|
groups:
|
||||||
- title: General
|
- title: General
|
||||||
@ -72,22 +50,6 @@ pages:
|
|||||||
url: https://www.amazon.com/
|
url: https://www.amazon.com/
|
||||||
- title: Github
|
- title: Github
|
||||||
url: https://github.com/
|
url: https://github.com/
|
||||||
- title: Entertainment
|
|
||||||
links:
|
|
||||||
- title: YouTube
|
|
||||||
url: https://www.youtube.com/
|
|
||||||
- title: Prime Video
|
|
||||||
url: https://www.primevideo.com/
|
|
||||||
- title: Disney+
|
|
||||||
url: https://www.disneyplus.com/
|
|
||||||
- title: Social
|
|
||||||
links:
|
|
||||||
- title: Reddit
|
|
||||||
url: https://www.reddit.com/
|
|
||||||
- title: Twitter
|
|
||||||
url: https://twitter.com/
|
|
||||||
- title: Instagram
|
|
||||||
url: https://www.instagram.com/
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
||||||
@ -110,7 +72,7 @@ Restart=on-failure
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target" >$service_path
|
WantedBy=multi-user.target" >$service_path
|
||||||
|
|
||||||
systemctl enable --now -q glance.service
|
systemctl enable -q --now glance.service
|
||||||
msg_ok "Created Service"
|
msg_ok "Created Service"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
@ -120,4 +82,4 @@ msg_info "Cleaning up"
|
|||||||
rm -rf /opt/glance-linux-amd64.tar.gz
|
rm -rf /opt/glance-linux-amd64.tar.gz
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
Loading…
Reference in New Issue
Block a user