docker-samba/run.sh
2021-02-19 06:54:25 -05:00

8 lines
226 B
Bash
Executable File

#!/bin/sh
set +xe
echo "====== Configuring users and groups ====="
python3 /opt/add-user-group.py "$GROUPS" "$USERS"
echo ""
echo "====== Starting Samba Daemon ====="
exec smbd -S -F -d 2 --no-process-group -s /samba/smb.conf