Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 573 Bytes

README.md

File metadata and controls

46 lines (34 loc) · 573 Bytes

GTRL

Sensor data logging service.

Build/Install

## Install required npm packages
npm install

## Build service
make

## Install as linux service
make install

Usage

node service.js --help
Usage : gtrl <cmd> [params]
[backup | bak] <dir>   : Backup log.db
[--config | -c] <path> : Path to config file
[--setup | -s] <path>  : Path to setup file
[--help | -help | -h]  : Print usage

Service

Start service

systemctl start gtrl.service

Show log

journalctl -u gtrl

Follow log

journalctl --follow -u gtrl