1.1.0 • Published 9 years ago
xtail v1.1.0
Restart, stop or start service while watching a log file (ie tail -f).
Installation
$ npm i xtail -gUsage
When the service name is equal to its log file in /var/log/. For instance the service name is mongo and the log is on /var/log/mongo.log, use as follows:
xtail mongoWhen the log file is different use:
xtail /var/log/my-mongo-log.log the-mongo-serviceThen while watching the logs use one of these key shortcuts to start/stop/restart:

License
MIT - Jose Romaniello 2014