Browse Source

make: add targets to help view log status

master
Jim Paris 2 years ago
parent
commit
97b9060344
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      Makefile

+ 10
- 0
Makefile View File

@@ -40,6 +40,16 @@ rebase:
git rebase master
systemctl daemon-reload

# Show status of most recent backup run
.PHONY: status
status:
systemctl status --full --lines 999999 --no-pager --all borg-backup || true

# Watch live log output
.PHONY: tail
tail:
journalctl --all --follow --lines 200 --unit borg-backup

.PHONY: clean
clean:
rm -f README.html

Loading…
Cancel
Save