Merge branch '13.0' into '13.0-test'

[FIX] odoo-reload: additional watch for 13

See merge request hibou-io/hibou-odoo/suite!1396
This commit is contained in:
Jared Kipe
2022-05-03 00:47:13 +00:00

View File

@@ -7,7 +7,7 @@ import sys
PID = 1 PID = 1
PNAME = 'odoo' PNAME = 'odoo'
PNAME_PYTHON = ['python'] PNAME_PYTHON = ['python', '/usr/local/bin/']
PNAME_KILL_OTHER = [PNAME] + PNAME_PYTHON PNAME_KILL_OTHER = [PNAME] + PNAME_PYTHON
KILL_OTHER = sys.argv[1] == 'KILL_OTHER' if len(sys.argv) >= 2 else False KILL_OTHER = sys.argv[1] == 'KILL_OTHER' if len(sys.argv) >= 2 else False
if KILL_OTHER: if KILL_OTHER: