Skip to content

Commit

Permalink
fix flask_app path
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinHsu1019 authored Oct 22, 2024
1 parent 84b1049 commit 10d2807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__':
Expand Down

0 comments on commit 10d2807

Please sign in to comment.