docker-samba/run.sh
2021-02-19 17:36:13 -05:00

8 lines
240 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 --no-process-group -s /samba/smb.conf $(echo $SMBD_ARGS)