Compare commits

..

1 Commits

Author SHA1 Message Date
Rémi Bédard-Couture
e4c1ba215c
Merge d8ce57184295696b6f79d814011be54465198d5c into ef55baf25a3dae46fa9d8a86f77a1185b0d03591 2024-09-02 22:26:32 +00:00
3 changed files with 9 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
source <(curl -s https://raw.githubusercontent.com/remz1337/Proxmox/remz/misc/build.func)
# Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster)
# Co-Author: remz1337
@ -67,5 +67,4 @@ start
build_container
description
msg_ok "Completed Successfully!\n"
echo -e "Don't forget to setup reverse proxy. See ${BL}https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html#reverse-proxy-settings-in-nginx-config-ssl-termination${CL}"
msg_ok "Completed Successfully!\n"

View File

@ -41,6 +41,8 @@ motd_ssh
customize
msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
$STD apt-get autoremove
$STD apt-get autoclean
msg_ok "Cleaned"
echo -e "Don't forget to setup reverse proxy. See ${BL}https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html#reverse-proxy-settings-in-nginx-config-ssl-termination${CL}"

View File

@ -23,8 +23,8 @@ msg_info "Installing Prometheus"
RELEASE=$(curl -s https://api.github.com/repos/prometheus/prometheus/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
mkdir -p /etc/prometheus
mkdir -p /var/lib/prometheus
wget -q https://github.com/prometheus/prometheus/releases/download/v${RELEASE}/prometheus-${RELEASE}.linux-amd64.tar.gz
tar -xf prometheus-${RELEASE}.linux-amd64.tar.gz
$STD wget https://github.com/prometheus/prometheus/releases/download/v${RELEASE}/prometheus-${RELEASE}.linux-amd64.tar.gz
$STD tar -xvf prometheus-${RELEASE}.linux-amd64.tar.gz
cd prometheus-${RELEASE}.linux-amd64
mv prometheus promtool /usr/local/bin/
mv consoles/ console_libraries/ /etc/prometheus/
@ -51,7 +51,7 @@ ExecStart=/usr/local/bin/prometheus \
[Install]
WantedBy=multi-user.target" >$service_path
systemctl enable -q --now prometheus
$STD sudo systemctl enable --now prometheus
msg_ok "Created Service"
motd_ssh