This commit is contained in:
CanbiZ 2025-05-15 11:25:13 +02:00
commit 79533c055b
2 changed files with 7 additions and 8 deletions

View File

@ -7,11 +7,11 @@ source <(curl -s https://git.community-scripts.org/community-scripts/ProxmoxVED/
APP="FreePBX" APP="FreePBX"
var_tags="pbx;voip;telephony" var_tags="pbx;voip;telephony"
var_cpu="${var_cpu:-1}" var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-1024}" var_ram="${var_ram:-2048}"
var_disk="${var_disk:-20}" var_disk="${var_disk:-20}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-12}" var_version="${var_version:-10}"
var_unprivileged="${var_unprivileged:-1}" var_unprivileged="${var_unprivileged:-1}"
header_info "$APP" header_info "$APP"
@ -24,7 +24,6 @@ function update_script() {
check_container_storage check_container_storage
check_container_resources check_container_resources
# Check if installation is present | -f for file, -d for folder
if [[ ! -f /lib/systemd/system/freepbx.service ]]; then if [[ ! -f /lib/systemd/system/freepbx.service ]]; then
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit

View File

@ -13,16 +13,16 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing FreePBX" msg_info "Installing FreePBX (Patience)"
cd /tmp curl -fsSL https://github.com/FreePBX/sng_freepbx_debian_install/raw/master/sng_freepbx_debian_install.sh -o /opt/sng_freepbx_debian_install.sh
wget https://github.com/FreePBX/sng_freepbx_debian_install/raw/master/sng_freepbx_debian_install.sh -O /tmp/sng_freepbx_debian_install.sh $STD bash /opt/sng_freepbx_debian_install.sh
bash /tmp/sng_freepbx_debian_install.sh
msg_ok "Installed FreePBX" msg_ok "Installed FreePBX"
motd_ssh motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm /opt/sng_freepbx_debian_install.sh
$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"