diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-08 13:04:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-08 13:04:44 +0000 |
commit | 394ebc3350b1ede6028b6ecfa4dcac6e4ec5eed6 (patch) | |
tree | 3eecf214cd57fecedd32d49a6705af9cd491c634 /packaging | |
parent | Adding debian version 2:4.20.0+dfsg-1~exp2. (diff) | |
download | samba-394ebc3350b1ede6028b6ecfa4dcac6e4ec5eed6.tar.xz samba-394ebc3350b1ede6028b6ecfa4dcac6e4ec5eed6.zip |
Merging upstream version 2:4.20.1+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/systemd/samba-bgqd.service.in | 16 | ||||
-rw-r--r-- | packaging/wscript_build | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/packaging/systemd/samba-bgqd.service.in b/packaging/systemd/samba-bgqd.service.in new file mode 100644 index 0000000..0254ebd --- /dev/null +++ b/packaging/systemd/samba-bgqd.service.in @@ -0,0 +1,16 @@ +[Unit] +Description=Samba Background Queue Daemon for printing-related jobs +Documentation=man:samba-bgqd(8) man:smb.conf(5) +Wants=network-online.target +After=network.target network-online.target + +[Service] +Type=notify +LimitNOFILE=16384 +PIDFile=@PIDDIR@/samba-bgqd.pid +EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba +ExecStart=@LIBEXECDIR@/samba/samba-bgqd --foreground --no-process-group $SAMBAOPTIONS +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/packaging/wscript_build b/packaging/wscript_build index 217bd99..dc95beb 100644 --- a/packaging/wscript_build +++ b/packaging/wscript_build @@ -4,7 +4,8 @@ systemd_services = [ 'systemd/smb.service', 'systemd/nmb.service', 'systemd/winbind.service', - 'systemd/samba.service' + 'systemd/samba.service', + 'systemd/samba-bgqd.service', ] for srv in systemd_services: |