docker-samba/run.sh

8 lines
240 B
Bash
Raw Normal View History

2021-02-19 11:54:25 +00:00
#!/bin/sh
set +xe
echo "====== Configuring users and groups ====="
python3 /opt/add-user-group.py "$GROUPS" "$USERS"
echo ""
echo "====== Starting Samba Daemon ====="
2021-02-19 22:36:13 +00:00
exec smbd -S -F --no-process-group -s /samba/smb.conf $(echo $SMBD_ARGS)