mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 10:17:19 +08:00
Move discourse dev data out of tmp
Fix watch for restart so it works with puma
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
SCRIPTPATH=$(cd "$(dirname "$0")"; pwd -P)
|
||||
SOURCE_DIR=$(cd "$SCRIPTPATH" && cd ../.. && pwd -P)
|
||||
DATA_DIR="$SOURCE_DIR/tmp/postgres"
|
||||
DATA_DIR="$SOURCE_DIR/data/postgres"
|
||||
|
||||
show_help() {
|
||||
cat <<EOF
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
SCRIPTPATH=$(cd "$(dirname "$0")"; pwd -P)
|
||||
SOURCE_DIR=$(cd "$SCRIPTPATH" && cd ../.. && pwd -P)
|
||||
DATA_DIR=$SOURCE_DIR/tmp/postgres
|
||||
DATA_DIR=$SOURCE_DIR/data/postgres
|
||||
|
||||
# Should this also run /etc/runit/1.d/ensure_database, or will that
|
||||
# happen automatically?
|
||||
|
Reference in New Issue
Block a user