docker-samba/run.sh

8 lines
237 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 ====="
2022-06-19 13:51:19 +00:00
exec smbd -F --no-process-group -s /samba/smb.conf $(echo $SMBD_ARGS)