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
|
need net
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DAEMON="/usr/sbin/samba"
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
ebegin "Starting Samba 4.x daemon... "
|
ebegin "Starting Samba 4.x daemon... "
|
||||||
start-stop-daemon --start --quiet \
|
start-stop-daemon --start --quiet \
|
||||||
@ -20,12 +22,12 @@ start() {
|
|||||||
stop() {
|
stop() {
|
||||||
ebegin "Stopping Samba 4.x daemon... "
|
ebegin "Stopping Samba 4.x daemon... "
|
||||||
start-stop-daemon --stop --quiet \
|
start-stop-daemon --stop --quiet \
|
||||||
--pidfile /var/run/samba/samba.pid
|
--pidfile /var/run/samba/smbd.pid
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
|
||||||
reload() {
|
reload() {
|
||||||
ebegin "Reloading Samba 4.x daemon... "
|
ebegin "Reloading Samba 4.x daemon... "
|
||||||
killall -HUP smbd
|
killall -HUP samba
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user