small fixes

This commit is contained in:
Kristo Copani 2024-11-29 15:21:58 +02:00
parent 265f5b8d7a
commit 5971bc76f3
2 changed files with 5 additions and 43 deletions

View File

@ -96,4 +96,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${APP} should be reachable by going to the following URL.
${BL}http://${IP}:8080${CL} \n"
${BL}http://${IP}:8080${CL} \n"

View File

@ -16,7 +16,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
curl \
wget \
sudo \
mc
msg_ok "Installed Dependencies"
@ -28,6 +28,7 @@ wget -q https://github.com/glanceapp/glance/releases/download/v${RELEASE}/glance
mkdir /opt/glance
tar -xzf glance-linux-amd64.tar.gz -C /opt/glance
cat <<EOF >/opt/glance/glance.yml
#Documentation link https://github.com/glanceapp/glance/blob/main/docs/configuration.md
pages:
- name: Startpage
width: slim
@ -39,29 +40,6 @@ pages:
- type: search
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
groups:
- title: General
@ -72,22 +50,6 @@ pages:
url: https://www.amazon.com/
- title: Github
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
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
@ -110,7 +72,7 @@ Restart=on-failure
[Install]
WantedBy=multi-user.target" >$service_path
systemctl enable --now -q glance.service
systemctl enable -q --now glance.service
msg_ok "Created Service"
motd_ssh
@ -120,4 +82,4 @@ msg_info "Cleaning up"
rm -rf /opt/glance-linux-amd64.tar.gz
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"
msg_ok "Cleaned"