mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-19 04:09:45 +00:00
Minor changes
This commit is contained in:
parent
3ed96f9c9a
commit
087253ca04
4 changed files with 7 additions and 5 deletions
5
Makefile
5
Makefile
|
@ -15,8 +15,9 @@ logger: src/logger.c src/utils.c
|
|||
$(CC) $^ -o $@
|
||||
|
||||
publish: publisher logger
|
||||
./logger $(LOGGERS_DIR) 587 $(LOG_INTERVAL) &
|
||||
./publisher $(LOGGERS_DIR) $(LOG_INTERVAL) $(SUBSCRIBER_ADDR) $(ZMQ_PORT) $(KEY) &
|
||||
rm -f pid
|
||||
./logger $(LOGGERS_DIR) 587 $(LOG_INTERVAL) &> $(LOGGERS_DIR)/587.log & echo $$! >> pid
|
||||
./publisher $(LOGGERS_DIR) $(LOG_INTERVAL) $(SUBSCRIBER_ADDR) $(ZMQ_PORT) $(KEY)
|
||||
|
||||
subscribe: subscriber
|
||||
./subscriber $(ZMQ_PORT) $(SUBSCRIBER_DIR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue