Readme update for systemd

This commit is contained in:
Andreas Grimm 2019-02-25 13:23:14 +01:00
parent 4f5ed15b98
commit 9023954f3f
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ $ systemctl daemon-reload
$ systemctl start metrics.sh.service
# If run with the default configuration where reporter is 'stdout', metrics
# will be written to /var/log/metrics.sh.log. Be aware that this file will
# grow fast.
$ tail -f /var/log/metrics.sh.log
# will be written to the journal. See the log using `journalctl -u metrics.sh`
# or follow it with:
$ journalctl -f -u metrics.sh
# Stop service
$ systemctl stop metrics.sh.service