diff --git a/lib/daemon.py b/lib/daemon.py index 547f42f86..e9adbdfcf 100644 --- a/lib/daemon.py +++ b/lib/daemon.py @@ -36,7 +36,7 @@ DAEMON_PORT=8001 def do_start_daemon(config): import subprocess logfile = open(os.path.join(config.path, 'daemon.log'),'w') - p = subprocess.Popen(["python",__file__], stderr=logfile, stdout=logfile, close_fds=True) + p = subprocess.Popen(["python2",__file__], stderr=logfile, stdout=logfile, close_fds=True) print_stderr("starting daemon (PID %d)"%p.pid)