Readme update for systemd

This commit is contained in:
Andreas Grimm 2019-02-25 13:23:14 +01:00
parent 4f5ed15b98
commit 9023954f3f

View File

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