diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:02 +0000 |
commit | 0a354ad0b2c9eaaa204c31db478da109dc6d2a8b (patch) | |
tree | 2467caa8ad20a7fca31bef64224e41a4238db0c9 /debian/samba.smbd.service | |
parent | Adding upstream version 2:4.20.0+dfsg. (diff) | |
download | samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.tar.xz samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.zip |
Adding debian version 2:4.20.0+dfsg-1~exp1.debian/2%4.20.0+dfsg-1_exp1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/samba.smbd.service')
-rw-r--r-- | debian/samba.smbd.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/samba.smbd.service b/debian/samba.smbd.service new file mode 100644 index 0000000..57d8f75 --- /dev/null +++ b/debian/samba.smbd.service @@ -0,0 +1,20 @@ +[Unit] +Description=Samba SMB Daemon +Documentation=man:smbd(8) man:samba(7) man:smb.conf(5) +Wants=network-online.target +After=network.target network-online.target nmb.service winbind.service + +[Service] +Type=notify +PIDFile=/run/samba/smbd.pid +LimitNOFILE=16384 +EnvironmentFile=-/etc/default/samba +ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS +ExecReload=/bin/kill -HUP $MAINPID +LimitCORE=infinity +ExecCondition=/usr/share/samba/is-configured smb + +[Install] +WantedBy=multi-user.target +# Upstream name: +Alias=smb.service |