Collection of cookbooks for Podman Quadlets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
358 B

#!/bin/bash
set -Eeuo pipefail
echo -n > /etc/samba/smb.conf
for file in /etc/samba/smb.conf.d/*.conf; do
echo "Using config file from $file..."
cat $file >> /etc/samba/smb.conf
echo >> /etc/samba/smb.conf
done
mkdir -p /var/lib/samba/lock /var/lib/samba/private /run/samba
exec /usr/sbin/smbd --foreground --no-process-group --debug-stdout "$@"