HEX
Server: Apache/2.4.63 (Unix)
System: Linux TOMS-220NAS 4.4.302+ #86009 SMP Wed Nov 26 18:19:17 CST 2025 x86_64
User: flavio87 (1026)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: //var.defaults/run/systemd/generator/file-protocol.target.wants/pkg-synosamba-smbd.service
[Unit]
Description=Samba SMB Daemon

Requisite=syno-share.target network-online.target
After=syno-share.target network-online.target \
      nss-user-lookup.target pkg-synosamba-nmbd.service

IgnoreOnIsolate=no
DefaultDependencies=yes

[Service]
Type=notify
PIDFile=/run/samba/smbd.pid
Slice=SMBService.slice

Restart=on-failure

ExecStartPre=-/var/packages/SMBService/conf/systemd/smbd.sh prestart
ExecStart=/var/packages/SMBService/conf/systemd/smbd.sh start
ExecStartPost=-/var/packages/SMBService/conf/systemd/smbd.sh poststart
ExecStartPost=-/usr/syno/etc/rc.sysv/avahi.sh smb-conf

ExecStopPost=-/var/packages/SMBService/conf/systemd/smbd.sh poststop
ExecStopPost=-/usr/syno/etc/rc.sysv/avahi.sh avahi-delete-conf

; DO NOT use smbcontrol smbd reload-config because this command doesn't
; trigger the behavior from SIGUSR1 which is added by Synology.
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target

[X-Synology]
Name=Windows file service
NameI18n=helptoc:winmacnfs_win

InfoCenterDisplay=yes
SupportOneClickEnable=yes
FirewallSections=cifs
PackedIn=file-protocol.target
; vim:set ft=systemd: