Private GIT

Skip to content
Snippets Groups Projects
Commit 7f7f1edc authored by Alexandre Beloin's avatar Alexandre Beloin
Browse files

Merge pull request #1537 from fernandog/disable_daemon_mac

Disable daemon mode in MAC
parents 83b97797 eb457289
Branches
Tags
No related merge requests found
...@@ -110,9 +110,9 @@ class SickRage(object): ...@@ -110,9 +110,9 @@ class SickRage(object):
help_msg += " -q --quiet Disables logging to console\n" help_msg += " -q --quiet Disables logging to console\n"
help_msg += " --nolaunch Suppress launching web browser on startup\n" help_msg += " --nolaunch Suppress launching web browser on startup\n"
if sys.platform == 'win32': if sys.platform == 'win32' or sys.platform == 'darwin':
help_msg += " -d --daemon Running as real daemon is not supported on Windows\n" help_msg += " -d --daemon Running as real daemon is not supported on Windows\n"
help_msg += " On Windows, --daemon is substituted with: --quiet --nolaunch\n" help_msg += " On Windows and MAC, --daemon is substituted with: --quiet --nolaunch\n"
else: else:
help_msg += " -d --daemon Run as double forked daemon (includes options --quiet --nolaunch)\n" help_msg += " -d --daemon Run as double forked daemon (includes options --quiet --nolaunch)\n"
help_msg += " --pidfile=<path> Combined with --daemon creates a pidfile (full path including filename)\n" help_msg += " --pidfile=<path> Combined with --daemon creates a pidfile (full path including filename)\n"
...@@ -208,7 +208,7 @@ class SickRage(object): ...@@ -208,7 +208,7 @@ class SickRage(object):
self.consoleLogging = False self.consoleLogging = False
self.noLaunch = True self.noLaunch = True
if sys.platform == 'win32': if sys.platform == 'win32' or sys.platform == 'darwin':
self.runAsDaemon = False self.runAsDaemon = False
# Write a pidfile if requested # Write a pidfile if requested
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment