2024-01-07 12:00:24 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2026-01-06 13:28:12 +01:00
|
|
|
# Copyright (c) 2021-2026 tteck
|
2024-01-07 12:00:24 -05:00
|
|
|
# Author: tteck (tteckster)
|
2025-03-04 17:54:20 +01:00
|
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
|
|
|
# Source: https://sftpgo.com/
|
2024-01-07 12:00:24 -05:00
|
|
|
|
2025-03-24 14:20:56 +01:00
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
2024-01-07 12:00:24 -05:00
|
|
|
color
|
|
|
|
|
verb_ip6
|
|
|
|
|
catch_errors
|
|
|
|
|
setting_up_container
|
|
|
|
|
network_check
|
|
|
|
|
update_os
|
|
|
|
|
|
|
|
|
|
msg_info "Installing Dependencies"
|
2025-10-15 22:58:08 +02:00
|
|
|
$STD apt install -y sqlite3
|
2024-01-07 12:00:24 -05:00
|
|
|
msg_ok "Installed Dependencies"
|
|
|
|
|
|
2026-01-04 23:05:51 +01:00
|
|
|
setup_deb822_repo \
|
|
|
|
|
"sftpgo" \
|
|
|
|
|
"https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key" \
|
|
|
|
|
"https://ftp.osuosl.org/pub/sftpgo/apt" \
|
|
|
|
|
"trixie"
|
2024-01-07 12:00:24 -05:00
|
|
|
|
|
|
|
|
msg_info "Installing SFTPGo"
|
2025-10-15 22:58:08 +02:00
|
|
|
$STD apt install -y sftpgo
|
2024-01-07 12:00:24 -05:00
|
|
|
msg_ok "Installed SFTPGo"
|
|
|
|
|
|
|
|
|
|
motd_ssh
|
|
|
|
|
customize
|
2025-11-22 17:27:13 +01:00
|
|
|
cleanup_lxc
|