Commit 832cb2d0 authored by Nelso Jost's avatar Nelso Jost
Browse files

FIX: from last commit

parent ce2015e1
......@@ -8,12 +8,10 @@ help:
@ echo ""
@ echo " make apt-install -- Uses Debian's apt to install required system tools"
@ echo ""
@ echo " make setup -- Install Python requirements"
@ echo " make setup -- Install Python requirements (need only once)"
@ echo ""
@ echo " make build -- Compile the sketch"
@ echo ""
@ echo " make upload -- Send the compiled sketch to the board"
@ echo ""
@ echo " make serial -- Enter IPython session with serial opened"
@ echo ""
@ echo " make bu -- build & upload"
......@@ -21,12 +19,9 @@ help:
@ echo ""
@ echo " make sync-rtc -- Synchronizes the board's clock with the system's"
@ echo ""
@ echo " make run-logger -- Starts the logger. Results apper on the screen."
@ echo ""
@ echo " make deploy-logger -- Activate logger daemon. Results apper on logs/execution.log"
@ echo ""
@ echo " make run-logger -- Starts the logger. Log: apper on the screen"
@ echo " make deploy-logger -- Activate logger daemon. Log at logger/logs/execution.log"
@ echo " make undeploy-logger -- Deactivate logger daemon."
@ echo ""
@ echo " make tail-logger -- Exibits and follow daemon execution log."
apt-install:
......
......@@ -9,7 +9,7 @@ BASE_DIR = BASE_DIR[:BASE_DIR.rfind(os.path.sep)]
SUPERVISOR_CONFIG_FILENAME = '/etc/supervisor/conf.d/{}.conf'\
.format(PROCESS_NAME)
PID_FILENAME = 'logs/pid_{}'.format(PROCESS_NAME)
PID_FILENAME = 'logger/logs/pid_{}'.format(PROCESS_NAME)
TEMPLATE_SUPERVISOR_CONF =\
"""\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment