summaryrefslogtreecommitdiffstats
path: root/packaging/systemd/samba-bgqd.service.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-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