Compare commits
2 commits
c4b4cff25a
...
41af04163b
Author | SHA1 | Date | |
---|---|---|---|
41af04163b | |||
46d511f08e |
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
||||||
servicesToCheck = [
|
servicesToCheck = [
|
||||||
"caddy"
|
"caddy"
|
||||||
"forgejo"
|
"forgejo"
|
||||||
|
"postgresql"
|
||||||
"runner"
|
"runner"
|
||||||
"sftpgo"
|
"sftpgo"
|
||||||
"zfs-zed"
|
"zfs-zed"
|
||||||
|
|
|
@ -49,7 +49,7 @@ let
|
||||||
|
|
||||||
printf "''${BOLD}Service status:$ENDCOLOR\n"
|
printf "''${BOLD}Service status:$ENDCOLOR\n"
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
if [[ ! $line =~ ".service" ]]; then
|
if [[ ! $line =~ ".service" ]] || [[ $line =~ ".mount" ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if echo "$line" | grep -q 'failed'; then
|
if echo "$line" | grep -q 'failed'; then
|
||||||
|
|
Loading…
Reference in a new issue