refactor(justfile): de-dup deploy-code, move nginx/setup to deploy-nginx

This commit is contained in:
Pontoporeia
2026-09-18 16:26:48 +02:00
parent bdde7173ea
commit 1ed69a2c1a
3 changed files with 13 additions and 10 deletions
+6
View File
@@ -121,6 +121,12 @@ chown www-data:xamxam /var/backups/xamxam
chmod 2775 /var/backups/xamxam
ok "Backup dir: /var/backups/xamxam owned by www-data:xamxam (2775)"
# App var/ dirs (cache/logs/tmp) checked by deploy-verify-permissions.
mkdir -p /var/www/xamxam/var/{cache,logs,tmp}
chown -R www-data:xamxam /var/www/xamxam/var
chmod -R 2775 /var/www/xamxam/var
ok "var/ dirs: /var/www/xamxam/var/{cache,logs,tmp}"
# ── Step 2: Nginx config ──────────────────────────────────────────────────────
printf "\n📋 Step 2: Deploying nginx configuration...\n"
echo "--------------------------------------------"