fix: Error logging for Samba daemon (#142)
This commit is contained in:
parent
10f1ba65e1
commit
4fb76dd892
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
[](https://starchart.cc/dockur/windows-arm)
|
||||
|
|
|
@ -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" &
|
||||
|
|
Loading…
Reference in a new issue