diff --git a/sv/smbd/down b/sv/smbd/down new file mode 100644 index 0000000..06d7405 Binary files /dev/null and b/sv/smbd/down differ diff --git a/sv/smbd/run b/sv/smbd/run new file mode 100644 index 0000000..55d308e --- /dev/null +++ b/sv/smbd/run @@ -0,0 +1,5 @@ +#!/bin/sh +sv start networking nmbd winbind +[ -r /etc/default/samba ] && . /etc/default/samba +/usr/share/samba/update-apparmor-samba-profile +exec chpst -o 16384 /usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS