From 10d2807a786547975acdb1ec295931ed17f4ed8a Mon Sep 17 00:00:00 2001 From: Justin Hsu <141555665+JustinHsu1019@users.noreply.github.com> Date: Tue, 22 Oct 2024 14:05:48 +0800 Subject: [PATCH] fix flask_app path --- src/tools/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/monitor.py b/src/tools/monitor.py index 40ed3ee..d89f7ca 100644 --- a/src/tools/monitor.py +++ b/src/tools/monitor.py @@ -16,7 +16,7 @@ def check_service(): def restart_service(): print('Service is down. Restarting service...') - subprocess.run(['nohup', 'python3', 'Service/Service.py', '&']) + subprocess.run(['nohup', 'python3', 'src/flask_app.py', '&']) if __name__ == '__main__':