File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,13 @@ def is_healthy(ssh) -> bool:
364364 # Then check if the socket directory exists and has correct permissions
365365 h .run ("sudo ls -la /run/postgresql" ),
366366 # Then try pg_isready
367- h .run ("sudo -u postgres /usr/bin/pg_isready -U postgres" )
367+ h .run ("sudo -u postgres /usr/bin/pg_isready -U postgres" ),
368+ # Check Nix profile setup
369+ h .run ("echo 'Check Nix profile setup'" ),
370+ h .run ("sudo -u postgres ls -la /home/postgres/.nix-profile" ),
371+ h .run ("sudo -u postgres ls -la /home/postgres/.nix-profile/bin" ),
372+ h .run ("sudo -u postgres test -x /home/postgres/.nix-profile/bin/switch_pg_cron_version" ),
373+ h .run ("sudo -u postgres cat /home/postgres/.nix-profile/bin/switch_pg_cron_version" )
368374 ),
369375 ),
370376 (
You can’t perform that action at this time.
0 commit comments