| @@ -17,9 +17,9 @@ |
| ├── systemd/ ← service files (real files, linked FROM /etc/systemd/system/)
|
| ├── nginx/ ← entire nginx directory (real files, /etc/nginx linked here)
|
| ├── php8/ ← php config (real files, /etc/php8 linked here)
|
| ├── firebird/ ← firebird config (real files, linked FROM /opt/firebird5/)
|
| ├── radicale/ ← radicale config (real files, linked FROM /etc/radicale)
|
| ├── acme/ ← acme.sh domain configs and dhparams.pem
|
| ├── cron.daily/ ← cron scripts (real files, linked FROM /etc/cron.daily/)
|
| ├── scripts/ ← admin utilities
|
| └── site-config/ ← machine specific site configs
|
| ├── systemd/ > service files (real files, linked FROM /etc/systemd/system/) |
| ├── nginx/ > entire nginx directory (real files, /etc/nginx linked here) |
| ├── php8/ > php config (real files, /etc/php8 linked here) |
| ├── firebird/ > firebird config (real files, linked FROM /opt/firebird5/) |
| ├── radicale/ > radicale config (real files, linked FROM /etc/radicale) |
| ├── acme/ > acme.sh domain configs and dhparams.pem |
| ├── cron.daily/ > cron scripts (real files, linked FROM /etc/cron.daily/) |
| ├── scripts/ > admin utilities |
| └── site-config/ > machine specific site configs |
|
|
| @@ -51 +51 @@ |
| nginx -t && systemctl restart nginx
|
| nginx -t && systemctl restart nginx |
|
|
| @@ -60,2 +60,2 @@ |
| git config --global user.name "srv10 admin"
|
| git config --global user.email "root@srv10.rdm1.uk"
|
| git config --global user.name "srv10 admin" |
| git config --global user.email "root@srv10.rdm1.uk" |
|
|
| @@ -100 +100 @@ |
| git commit -m "systemd service files - moved from /usr/lib to allow version control"
|
| git commit -m "systemd service files - moved from /usr/lib to allow version control" |
|
|
| @@ -103 +103 @@ |
| git commit -m "nginx config - full config including ssl and vhosts"
|
| git commit -m "nginx config - full config including ssl and vhosts" |
|
|
| @@ -106 +106 @@ |
| git commit -m "php8 config - clean baseline, opcache isolation settings"
|
| git commit -m "php8 config - clean baseline, opcache isolation settings" |
|
|
| @@ -109 +109 @@ |
| git commit -m "firebird config - RuntimeDirectory fix for modern systemd"
|
| git commit -m "firebird config - RuntimeDirectory fix for modern systemd" |
|
|
| @@ -112 +112 @@ |
| git commit -m "radicale CalDAV server - replacing nextcloud calendar/contacts"
|
| git commit -m "radicale CalDAV server - replacing nextcloud calendar/contacts" |
|
|
| @@ -140 +140 @@ |
| git commit -m "what changed and why"
|
| git commit -m "what changed and why" |
|
|
| @@ -148 +148 @@ |
| git commit -m "site disabled - reason why"
|
| git commit -m "site disabled - reason why" |
|
|
| @@ -181 +181 @@ |
| echo "Restarting full web stack..."
|
| echo "Restarting full web stack..." |
|
|
| @@ -186 +186 @@ |
| echo "Done - checking status..."
|
| echo "Done - checking status..." |
|
|
| @@ -196,4 +196,4 @@ |
| CRON=$(crontab -u $user -l 2>/dev/null)
|
| if [ ! -z "$CRON" ]; then
|
| echo "=== $user ==="
|
| echo "$CRON"
|
| CRON=$(crontab -u $user -l 2>/dev/null) |
| if [ ! -z "$CRON" ]; then |
| echo "=== $user ===" |
| echo "$CRON" |
|
|
| @@ -232 +232 @@ |
| # Full mirror srv10 → srv9 (delete enabled - true mirror)
|
| # Full mirror srv10 > srv9 (delete enabled - true mirror) |
|
|
| @@ -235 +235 @@ |
| # Additive sync srv10 → desktop (no delete - preserves local extras)
|
| # Additive sync srv10 > desktop (no delete - preserves local extras) |
|
|
| @@ -239 +239 @@ |
| rsync -avz --exclude='config_inc.php' srv10:/srv/website/ /srv/website/
|
| rsync -avz --exclude="config_inc.php" srv10:/srv/website/ /srv/website/ |
|
|
|
| @@ -251,0 +254,2 @@ |
|
Developed with Claude AI assistance - Anthropic - April 2026 |
|
|