#21 daemonize -> daemonise

pull/32/head
Geoffrey Merck 4 years ago
parent 4eefd5c1ab
commit e0af58fd97

@ -37,7 +37,7 @@
int CDaemon::m_pid_fd = -1;
std::string CDaemon::m_pidFileName("");
DAEMONIZE_RESULT CDaemon::daemonize(const std::string& pidFile, const std::string& userName)
DAEMONIZE_RESULT CDaemon::daemonise(const std::string& pidFile, const std::string& userName)
{
// get user
struct passwd* user = nullptr;

@ -29,7 +29,7 @@ enum DAEMONIZE_RESULT
class CDaemon
{
public:
static DAEMONIZE_RESULT daemonize(const std::string& pidFile, const std::string& user);
static DAEMONIZE_RESULT daemonise(const std::string& pidFile, const std::string& user);
static void finalise();
private:

@ -93,7 +93,7 @@ int main(int argc, char *argv[])
if (daemon.daemon) {
CLog::logInfo("Configured as a daemon, detaching ...");
auto res = CDaemon::daemonize(daemon.pidFile, daemon.user);
auto res = CDaemon::daemonise(daemon.pidFile, daemon.user);
switch (res)
{

Loading…
Cancel
Save

Powered by TurnKey Linux.