[PATCH] ksmbd-tools: fix unit file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Guillaume Castagnino <casta@xxxxxxxxxx>
---
 ksmbd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ksmbd.service b/ksmbd.service
index 5717177..3309fa9 100644
--- a/ksmbd.service
+++ b/ksmbd.service
@@ -10,7 +10,7 @@ Group=root
 RemainAfterExit=yes
 ExecStartPre=-/sbin/modprobe ksmbd
 ExecStart=/sbin/ksmbd.mountd -s
-ExecReload=/sbin/ksmbd.control -s && /sbin/ksmbd.mountd
+ExecReload=/bin/sh -c '/sbin/ksmbd.control -s && /sbin/ksmbd.mountd -s'
 ExecStop=/sbin/ksmbd.control -s
 
 [Install]
-- 
2.33.1




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux