| 1 |
Description: <short summary of the patch> |
| 2 |
TODO: Put a short summary on the line above and replace this paragraph |
| 3 |
with a longer explanation of this change. Complete the meta-information |
| 4 |
with other relevant fields (see below for details). To make it easier, the |
| 5 |
information below has been extracted from the changelog. Adjust it or drop |
| 6 |
it. |
| 7 |
. |
| 8 |
ksmbd-tools (3.4.3-2) unstable; urgency=medium |
| 9 |
. |
| 10 |
* Install provided systemd service file. (Closes: #1002904) |
| 11 |
Author: Gürkan Myczko <[email protected]> |
| 12 |
Bug-Debian: https://bugs.debian.org/1002904 |
| 13 |
|
| 14 |
--- |
| 15 |
The information above should follow the Patch Tagging Guidelines, please |
| 16 |
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here |
| 17 |
are templates for supplementary fields that you might want to add: |
| 18 |
|
| 19 |
Origin: <vendor|upstream|other>, <url of original patch> |
| 20 |
Bug: <url in upstream bugtracker> |
| 21 |
Bug-Debian: https://bugs.debian.org/<bugnumber> |
| 22 |
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> |
| 23 |
Forwarded: <no|not-needed|url proving that it has been forwarded> |
| 24 |
Reviewed-By: <name and email of someone who approved the patch> |
| 25 |
Last-Update: 2022-01-03 |
| 26 |
|
| 27 |
--- ksmbd-tools-3.4.3.orig/ksmbd.service |
| 28 |
+++ ksmbd-tools-3.4.3/ksmbd.service |
| 29 |
@@ -9,9 +9,9 @@ User=root |
| 30 |
Group=root |
| 31 |
RemainAfterExit=yes |
| 32 |
ExecStartPre=-/sbin/modprobe ksmbd |
| 33 |
-ExecStart=/sbin/ksmbd.mountd -s |
| 34 |
-ExecReload=/bin/sh -c '/sbin/ksmbd.control -s && /sbin/ksmbd.mountd -s' |
| 35 |
-ExecStop=/sbin/ksmbd.control -s |
| 36 |
+ExecStart=/usr/sbin/ksmbd.mountd -s |
| 37 |
+ExecReload=/bin/sh -c '/usr/sbin/ksmbd.control -s && /usr/sbin/ksmbd.mountd -s' |
| 38 |
+ExecStop=/usr/sbin/ksmbd.control -s |
| 39 |
|
| 40 |
[Install] |
| 41 |
WantedBy=multi-user.target |