mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 09:45:18 +00:00
force python2 with daemon
This commit is contained in:
parent
280903cf2a
commit
2843d7a148
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ DAEMON_PORT=8001
|
||||||
def do_start_daemon(config):
|
def do_start_daemon(config):
|
||||||
import subprocess
|
import subprocess
|
||||||
logfile = open(os.path.join(config.path, 'daemon.log'),'w')
|
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)
|
print_stderr("starting daemon (PID %d)"%p.pid)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue