From ab1c1f6d0cea37a2ecaface8238df2fbd785e12a Mon Sep 17 00:00:00 2001 From: sOckhamSter <4546972+sOckhamSter@users.noreply.github.com> Date: Fri, 28 May 2021 11:50:53 +0100 Subject: [PATCH] Update Docker.md --- docs/Docker.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Docker.md b/docs/Docker.md index fce3ef2..b457bce 100644 --- a/docs/Docker.md +++ b/docs/Docker.md @@ -33,9 +33,9 @@ python3 /psa_car_controller/app_decoder.py /config/com.psa.mym.myvauxhall_1.27.1 ``` Start server.py for a first run: ``` -python3 /psa_car_controller/server.py -f /config/test.json -c /config/charge_config1.json -p 5000 -l 0.0.0.0 -r -b /config +python3 /psa_car_controller/server.py -f /config/test.json -c /config/charge_config1.json -p 5000 -l 0.0.0.0 -r ``` -You will be prompted to enter a code, sent you you by SMS to your registered mobile number, and the PIN for your account. Sometimes it asks twice (???), but once accepted the service should run. Allow it to run for about a minute before pressing ctrl+c to quit. You should end up back at the bash prompt within the container. +You will be prompted to enter a code, sent by SMS to your registered mobile number, and the PIN for your account. Sometimes it asks twice (???), but once accepted the service should run. Allow it to run for about a minute before pressing ctrl+c to quit. You should end up back at the bash prompt within the container. The final task is to update the container's configuration file to tell it to run the service automatically on next boot. This is done by editing /config/dockerconfig.conf and changing the SHELL_ONLY parameter to FALSE. Alternatively, paste the below command into your shell one by one. These will update the dockerconfig.conf file, exit the container's bash shell, stop the container, then restart the container.