mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-09-25 01:53:03 +02:00
refactor(justfile): de-dup deploy-code, move nginx/setup to deploy-nginx
This commit is contained in:
@@ -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 "--------------------------------------------"
|
||||
|
||||
Reference in New Issue
Block a user