Skip to content

Commit ecbc95d

Browse files
author
github-actions
committed
update with project-syncing action
1 parent 85f2b2a commit ecbc95d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/postgres-monitor

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
while true; do
4+
if pg_ctl status | grep -q 'no server running'; then
5+
pg_start;
6+
fi
7+
sleep 1
8+
done

0 commit comments

Comments
 (0)