mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-30 17:43:44 +00:00
Log http server errors
This commit is contained in:
1 parent
3bd90969a0
commit
ba38e6c995
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
journalctl -u epicyon | grep 'File "' > .errors.txt
|
||||
journalctl -u epicyon | grep 'File "\|ERROR:' > .errors.txt
|
||||
if [ ! -f .errors.txt ]; then
|
||||
echo 'No errors'
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user