mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 19:20:09 +01:00
logs: standardise log filenames to xamxam-{service}-{date}.log
This commit is contained in:
1 parent
7b6d79c133
commit
d2cef85966
25 files changed
+442
-83
No files matched your search
@@ -89,6 +89,14 @@ chown www-data:xamxam /var/www/xamxam/storage/tmp/php-uploads
|
||||
chmod 2775 /var/www/xamxam/storage/tmp/php-uploads
|
||||
ok "PHP upload temp dir: /var/www/xamxam/storage/tmp/php-uploads"
|
||||
|
||||
# Ensure the application log directory exists and is writable by php-fpm.
|
||||
# App logs (Monolog) go to /var/log/xamxam/xamxam-{channel}-YYYY-MM-DD.log in
|
||||
# production; without this the logger falls back to NullHandler (silent).
|
||||
mkdir -p /var/log/xamxam
|
||||
chown www-data:xamxam /var/log/xamxam
|
||||
chmod 2775 /var/log/xamxam
|
||||
ok "Log dir: /var/log/xamxam owned by www-data:xamxam (2775)"
|
||||
|
||||
# ── Step 2: Nginx config ──────────────────────────────────────────────────────
|
||||
printf "\n📋 Step 2: Deploying nginx configuration...\n"
|
||||
echo "--------------------------------------------"
|
||||
|
||||
Reference in new issue
Block a user