fix: Error logging for Samba daemon (#142)

This commit is contained in:
Kroese 2024-06-04 15:57:34 +02:00 committed by GitHub
parent 10f1ba65e1
commit 4fb76dd892
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -321,7 +321,7 @@ kubectl apply -f kubernetes.yml
* ### Is this project legal?
Yes, this project contains only open-source code and does not distribute any copyrighted material. Any product keys found in the code are just generic placeholders provided by Microsoft for trial purposes. So under all applicable laws, this project would be considered legal.
Yes, this project contains only open-source code and does not distribute any copyrighted material. Any product keys found in the code are just generic placeholders provided by Microsoft for trial purposes. So under all applicable laws, this project will be considered legal.
## Stars
[![Stars](https://starchart.cc/dockur/windows-arm.svg?variant=adaptive)](https://starchart.cc/dockur/windows-arm)

View file

@ -75,7 +75,10 @@ fi
echo " force group = root"
} > "/etc/samba/smb.conf"
! smbd && smbd --debug-stdout
if ! smbd; then
error "Samba daemon failed to start!"
smbd -i --debug-stdout || true
fi
# Enable Web Service Discovery
wsdd -i "$interface" -p -n "$hostname" &