new session for restart
This commit is contained in:
parent
4c87307377
commit
d04636bf69
1 changed files with 2 additions and 1 deletions
|
@ -216,6 +216,7 @@ def restart(data):
|
|||
'''
|
||||
if data.get('update'):
|
||||
download()
|
||||
subprocess.Popen([os.path.join(settings.base_dir, 'ctl'), 'restart'], close_fds=True)
|
||||
subprocess.Popen([os.path.join(settings.base_dir, 'ctl'), 'restart'],
|
||||
close_fds=True, start_new_session=True)
|
||||
return {}
|
||||
actions.register(restart, cache=False)
|
||||
|
|
Loading…
Reference in a new issue