mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-02-28 13:59:12 -05:00
Readme update for systemd
This commit is contained in:
parent
4f5ed15b98
commit
9023954f3f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user