Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EMM
meteorolog
Commits
832cb2d0
Commit
832cb2d0
authored
Jul 01, 2015
by
Nelso Jost
Browse files
FIX: from last commit
parent
ce2015e1
Changes
2
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
832cb2d0
...
...
@@ -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
:
...
...
logger/deploy.py
View file @
832cb2d0
...
...
@@ -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
=
\
"""
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment