From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Alex Myczko <tar@debian.org>
Date: Aug, 17 2026 17:44:00 +0200
Subject: [PATCH] <short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-<Vendor>: <vendor-bugtracker-url>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>

--- ksmbd-tools-3.5.7.orig/ksmbd.service.in
+++ ksmbd-tools-3.5.7/ksmbd.service.in
@@ -2,6 +2,8 @@
 Description=ksmbd userspace daemon
 Requires=modprobe@ksmbd.service
 After=modprobe@ksmbd.service network.target
+Wants=network-online.target
+ConditionPathExists=/etc/ksmbd/ksmbd.conf
 
 [Service]
 Type=forking
