mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-12 08:41:23 -05:00
20039860eb
Amended documentation to point to it from the install guide in the alternative section Removed callout from the ubuntu guide, as it is unrelated
10 lines
No EOL
225 B
Bash
10 lines
No EOL
225 B
Bash
#!/bin/bash
|
|
FILE=/tmp/kill_db_done
|
|
|
|
if [ -f $FILE ]
|
|
then
|
|
echo "File $FILE exists..."
|
|
else
|
|
ps xa | grep postgres: | grep $POSTGRESQL_DATABASE | grep -v grep | awk '{print $1}' | sudo xargs kill
|
|
touch /tmp/kill_db_done
|
|
fi |