mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 11:10:08 +01:00
refactor(justfile): de-dup deploy-code, move nginx/setup to deploy-nginx
This commit is contained in:
1 parent
bdde7173ea
commit
1ed69a2c1a
3 files changed
+13
-10
No files matched your search
@@ -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