non-root smb share

This commit is contained in:
Matthew Tran
2025-02-21 01:09:27 -08:00
parent 077178cbe0
commit d693e31c85
6 changed files with 60 additions and 16 deletions
+4 -2
View File
@@ -1,4 +1,6 @@
#!/bin/sh
# TODO sigterm?
smbd -s smb.conf -l=/home/me/samba/log --foreground --no-process-group
smbd -s smb.conf -l=/home/me/samba/log
trap 'echo "stopping smbd..."' TERM
tail -f /dev/null &
wait $!