Skip to content

Commit

Permalink
logs cat
Browse files Browse the repository at this point in the history
  • Loading branch information
phplego committed Oct 8, 2023
1 parent 0f423d2 commit 5969259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service-logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
source ./service-config.sh

# Show logs
sudo journalctl -u $SERVICE_NAME -f -n 1000
sudo journalctl -u $SERVICE_NAME -f -n ${1:-1000} --output cat

0 comments on commit 5969259

Please sign in to comment.