Skip to content

Commit

Permalink
fix: Error logging for Samba daemon (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Jun 4, 2024
1 parent 10f1ba6 commit 4fb76dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 4 additions & 1 deletion src/samba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" &
Expand Down

0 comments on commit 4fb76dd

Please sign in to comment.