fix ./ctl release

This commit is contained in:
j 2015-02-27 18:46:50 +05:30
commit 0ec527dd02
2 changed files with 6 additions and 7 deletions

View file

@ -165,6 +165,6 @@ def restart(data):
'''
restart (and upgrade if upgrades are available)
'''
subprocess.Popen(['./ctl', 'restart'], close_fds=True)
subprocess.Popen([os.path.join(settings.base_dir, 'ctl'), 'restart'], close_fds=True)
return {}
actions.register(restart, cache=False)