2024-01-15 11:42:33 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2026-01-06 13:28:12 +01:00
|
|
|
# Copyright (c) 2021-2026 community-scripts ORG
|
2025-09-25 11:06:39 +02:00
|
|
|
# Author: CrazyWolf13
|
2025-03-04 17:54:20 +01:00
|
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
|
|
|
# Source: https://ntfy.sh/
|
2024-01-15 11:42:33 -05:00
|
|
|
|
2025-03-24 14:20:56 +01:00
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
2024-01-15 11:42:33 -05:00
|
|
|
color
|
|
|
|
|
verb_ip6
|
|
|
|
|
catch_errors
|
|
|
|
|
setting_up_container
|
|
|
|
|
network_check
|
|
|
|
|
update_os
|
|
|
|
|
|
2025-12-25 15:21:20 +01:00
|
|
|
msg_info "Setting up ntfy"
|
|
|
|
|
setup_deb822_repo \
|
|
|
|
|
"ntfy" \
|
|
|
|
|
"https://archive.ntfy.sh/apt/keyring.gpg" \
|
|
|
|
|
"https://archive.ntfy.sh/apt/" \
|
|
|
|
|
"stable"
|
2025-09-25 11:06:39 +02:00
|
|
|
$STD apt install -y ntfy
|
2024-01-15 11:42:33 -05:00
|
|
|
systemctl enable -q --now ntfy
|
2025-12-25 15:21:20 +01:00
|
|
|
msg_ok "Setup ntfy"
|
2024-01-15 11:42:33 -05:00
|
|
|
|
|
|
|
|
motd_ssh
|
|
|
|
|
customize
|
2025-11-22 17:27:13 +01:00
|
|
|
cleanup_lxc
|