Provide a systemd service file for the background queue daemon.
This bug was referenced in samba master: c97071726e163b40f0e391af70e81b3e6c1ab0eb
Created attachment 18283 [details] patch for 4.20
Comment on attachment 18283 [details] patch for 4.20 LGTM
Jule, please apply the patch to 4.20. Thanks!
Pushed to autobuild-v4-20-test.
This bug was referenced in samba v4-20-test: 9155d89a2ae04f45d809c46129687c6f5a510a0d
Closing out bug report. Thanks!
This bug was referenced in samba v4-20-stable (Release samba-4.20.1): 9155d89a2ae04f45d809c46129687c6f5a510a0d
What's the purpose of this service file? There's near-to-zero documentation about all this. The only mention so far is in man samba-bgqd: samba-bgqd is not intended to be invoked directly by users. Likewise, while samba-bgqd is also not intended to be run manually by system administrators, on systems with a large number of printers configured via CUPS, it is recommended to run samba-bgqd as a systemd service to improve performance and responsiveness of printing operations. Also, the offered service file seems wrong. First, $SAMBAOPTIONS, I guess, should be $SAMBA_BGQDOPTIONS, or something like this - because options for samba binary are significantly different from options for samba-bgqd. And second, this daemon, it looks like, does not need network-online. (depending on network-online.target is almost always a wrong idea anyway, but it is a different issue)
You're aware of https://bugzilla.samba.org/show_bug.cgi?id=15809 ?
If you think there is an issue you should create a new one not comment on old closed issues.