mirror of
https://github.com/samba-team/samba.git
synced 2025-07-23 20:59:10 +03:00
added the ability to start/stop the server from SWAT.
I needed to modify the way the pidfile is handled in nmbd and smbd to
do this. Jeremy, you may wish to look at what I've done as it probably
breaks the Whistle use of pidfiles. In particular I've removed the -f
option and instead smbd and nmbd always create a pidfile in the lock
directory.
(This used to be commit 20bb22d61b
)
This commit is contained in:
@ -3106,7 +3106,7 @@ void become_daemon(void)
|
||||
{
|
||||
#ifndef NO_FORK_DEBUG
|
||||
if (fork())
|
||||
exit(0);
|
||||
_exit(0);
|
||||
|
||||
/* detach from the terminal */
|
||||
#ifdef USE_SETSID
|
||||
|
Reference in New Issue
Block a user