Improved Daemonize function, to work with logs
This commit is contained in:
parent
1063daeff4
commit
1d1519111f
2 changed files with 12 additions and 4 deletions
|
@ -52,6 +52,6 @@ namespace Util {
|
|||
void setUser(std::string user);
|
||||
|
||||
/// Will turn the current process into a daemon.
|
||||
void Daemonize();
|
||||
void Daemonize(bool notClose = false);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue