Breaking Change: Migrate all "Alpine" Scripts to Normal CT's (#16587)

This commit is contained in:
CanbiZ (MickLesk)
2026-08-18 12:38:22 +02:00
committed by GitHub
parent f0b236ec77
commit 92e72e4137
116 changed files with 3343 additions and 4145 deletions
+23 -9
View File
@@ -13,15 +13,29 @@ setting_up_container
network_check
update_os
msg_info "Setting up ntfy"
setup_deb822_repo \
"ntfy" \
"https://archive.ntfy.sh/apt/keyring.gpg" \
"https://archive.ntfy.sh/apt/" \
"stable"
$STD apt install -y ntfy
systemctl enable -q --now ntfy
msg_ok "Setup ntfy"
setup_deb_based() {
msg_info "Setting up ntfy"
setup_deb822_repo \
"ntfy" \
"https://archive.ntfy.sh/apt/keyring.gpg" \
"https://archive.ntfy.sh/apt/" \
"stable"
$STD apt install -y ntfy
systemctl enable -q --now ntfy
msg_ok "Setup ntfy"
}
setup_alpine() {
msg_info "Installing ntfy"
$STD apk add --no-cache ntfy ntfy-openrc libcap
sed -i '/^listen-http/s/^\(.*\)$/#\1\n/' /etc/ntfy/server.yml
setcap 'cap_net_bind_service=+ep' /usr/bin/ntfy
$STD rc-update add ntfy default
$STD service ntfy start
msg_ok "Installed ntfy"
}
run_os_setup
motd_ssh
customize