- Each user gets a Linux + Samba account and home dir at /nas/home/<username>/ - Web UI file browsing scoped to per-user directories - Creating/deleting users from web UI also manages system + Samba accounts - Replaced hardcoded [data] SMB share with [homes] (per-user automatic shares) - Removed hardcoded alexz user from entrypoint — server.js handles all user management - Removed storage quotas from backend and frontend - Existing users get home directories auto-created on startup (migration)
9 lines
201 B
Bash
9 lines
201 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Ensure directories exist
|
|
mkdir -p /config /var/log/samba /run/samba /nas/home
|
|
|
|
echo "Starting supervisord..."
|
|
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
|