Browse Source

samba-servis

pull/76/head
milisarge 1 month ago
parent
commit
193d0a8db0
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      ayarlar/servisler/init.d/samba

+ 8
- 8
ayarlar/servisler/init.d/samba View File

@@ -25,31 +25,31 @@ case "$1" in
mkdir -p /run/samba

log_info_msg "Starting nmbd..."
start_daemon /usr/sbin/nmbd -D
start_daemon /usr/bin/nmbd -D
evaluate_retval

log_info_msg "Starting smbd..."
start_daemon /usr/sbin/smbd -D
start_daemon /usr/bin/smbd -D
evaluate_retval
;;

stop)
log_info_msg "Stopping smbd..."
killproc /usr/sbin/smbd
killproc /usr/bin/smbd
evaluate_retval

log_info_msg "Stopping nmbd..."
killproc /usr/sbin/nmbd
killproc /usr/bin/nmbd
evaluate_retval
;;

reload)
log_info_msg "Reloading smbd..."
killproc /usr/sbin/smbd -HUP
killproc /usr/bin/smbd -HUP
evaluate_retval

log_info_msg "Reloading nmbd..."
killproc /usr/sbin/nmbd -HUP
killproc /usr/bin/nmbd -HUP
evaluate_retval
;;

@@ -60,8 +60,8 @@ case "$1" in
;;

status)
statusproc /usr/sbin/nmbd
statusproc /usr/sbin/smbd
statusproc /usr/bin/nmbd
statusproc /usr/bin/smbd
;;

*)


Loading…
Cancel
Save