increase restart sleep to avoid port conflicts
parent
6d515f7a60
commit
d49811bc2e
|
@ -35,7 +35,7 @@ def restart():
|
||||||
daemonlaunch.kill_daemon()
|
daemonlaunch.kill_daemon()
|
||||||
while localcommand.local_command('ping', maxWait=8) == 'pong!':
|
while localcommand.local_command('ping', maxWait=8) == 'pong!':
|
||||||
time.sleep(0.3)
|
time.sleep(0.3)
|
||||||
time.sleep(4)
|
time.sleep(9)
|
||||||
subprocess.Popen([SCRIPT_NAME, 'start'])
|
subprocess.Popen([SCRIPT_NAME, 'start'])
|
||||||
|
|
||||||
restart.onionr_help = 'Gracefully restart Onionr'
|
restart.onionr_help = 'Gracefully restart Onionr'
|
||||||
|
|
Loading…
Reference in New Issue