Skip to content

Commit

Permalink
added pkill gvmd to shutdown cleanup function
Browse files Browse the repository at this point in the history
  • Loading branch information
immauss committed Feb 1, 2025
1 parent 56a1cf1 commit ee05216
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/single.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -Eeuo pipefail
#Define proper shutdown
cleanup() {
echo "Container stopped, performing shutdown"
pkill gvmd
sleep 1
su -c "/usr/lib/postgresql/13/bin/pg_ctl -D /data/database stop" postgres
}

Expand Down

0 comments on commit ee05216

Please sign in to comment.