summaryrefslogtreecommitdiffstats
path: root/packaging/systemd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 13:04:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 13:04:44 +0000
commit394ebc3350b1ede6028b6ecfa4dcac6e4ec5eed6 (patch)
tree3eecf214cd57fecedd32d49a6705af9cd491c634 /packaging/systemd
parentAdding debian version 2:4.20.0+dfsg-1~exp2. (diff)
downloadsamba-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/systemd')
-rw-r--r--packaging/systemd/samba-bgqd.service.in16
1 files changed, 16 insertions, 0 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