diff --git a/companion_software/dashboard/README.md b/companion_software/dashboard/README.md index 7ae23d1..c226a3e 100644 --- a/companion_software/dashboard/README.md +++ b/companion_software/dashboard/README.md @@ -10,7 +10,7 @@ add ``` [Service] ExecStart= -ExecStart=-/opt/lewis-crawker/companion_software/dashboard/entrypoint.sh +ExecStart=-/opt/lewis-crawler/companion_software/dashboard/entrypoint.sh StandardInput=tty StandardOutput=tty ``` diff --git a/companion_software/dashboard/entrypoint.sh b/companion_software/dashboard/entrypoint.sh index 60d09de..8aad026 100755 --- a/companion_software/dashboard/entrypoint.sh +++ b/companion_software/dashboard/entrypoint.sh @@ -1,5 +1,7 @@ #!/bin/bash +cd /opt/lewis-crawler/companion_software/dashboard + pipenv install -r requirements.txt pipenv run python dash.py