Fixed some glitches in samba 4 ebuild
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@9310 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
parent
417ace3775
commit
52f332feda
@ -10,6 +10,8 @@ depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
DAEMON="/usr/sbin/samba"
|
||||
|
||||
start() {
|
||||
ebegin "Starting Samba 4.x daemon... "
|
||||
start-stop-daemon --start --quiet \
|
||||
@ -20,12 +22,12 @@ start() {
|
||||
stop() {
|
||||
ebegin "Stopping Samba 4.x daemon... "
|
||||
start-stop-daemon --stop --quiet \
|
||||
--pidfile /var/run/samba/samba.pid
|
||||
--pidfile /var/run/samba/smbd.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading Samba 4.x daemon... "
|
||||
killall -HUP smbd
|
||||
killall -HUP samba
|
||||
eend $?
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user