mirror of
git://f0xx.org/ac/ac-deploy
synced 2026-07-29 04:19:00 +03:00
cluster0: Gmail mail relay (msmtp + PHP SMTP), lab cron
Mirror alpine-be msmtp for CLI; compose uses Gmail SMTP for php-fpm. Safe secrets.lab.env parser; deploy-mailrelay, install-lab-cron, verify-mail-lab. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -80,6 +80,10 @@ run_phase_app() {
|
||||
if [ "${GITEA_ENABLE:-0}" = "1" ] && is_primary_node; then
|
||||
run_script "$ROOT/scripts/deploy-gitea.sh" || journal_warn gitea "install failed (non-fatal)"
|
||||
fi
|
||||
if [ "${MAIL_RELAY_ENABLE:-0}" = "1" ] && is_primary_node; then
|
||||
run_script "$ROOT/scripts/deploy-mailrelay.sh" || journal_warn mailrelay "install failed (non-fatal)"
|
||||
run_script "$ROOT/scripts/install-lab-cron.sh" || journal_warn lab_cron "install failed (non-fatal)"
|
||||
fi
|
||||
run_script "$ROOT/scripts/configure-nginx.sh"
|
||||
rc-service php-fpm83 restart 2>/dev/null || true
|
||||
rc-service nginx reload 2>/dev/null || rc-service nginx restart 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user