summaryrefslogtreecommitdiff
path: root/user/postgresql/postgresql.initd
diff options
context:
space:
mode:
Diffstat (limited to 'user/postgresql/postgresql.initd')
-rw-r--r--user/postgresql/postgresql.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/postgresql/postgresql.initd b/user/postgresql/postgresql.initd
index 846229a40..1c1a5dcf9 100644
--- a/user/postgresql/postgresql.initd
+++ b/user/postgresql/postgresql.initd
@@ -63,8 +63,8 @@ start_pre() {
fi
fi
- local socket_dirs=$(get_config "unix_socket_directories" "/run/postgresql")
- local port=$(get_config "port" "$port")
+ local socket_dirs="$(get_config "unix_socket_directories" "/run/postgresql")"
+ local port="$(get_config "port" "$port")"
start_stop_daemon_args="$start_stop_daemon_args --env PGPORT=$port"
@@ -124,7 +124,7 @@ stop() {
&& retry="$retry/SIGQUIT/$force_timeout" \
|| force_timeout=0
- local seconds=$(( $nice_timeout + $rude_timeout + $force_timeout ))
+ local seconds="$(( $nice_timeout + $rude_timeout + $force_timeout ))"
ebegin "Stopping PostgreSQL (this can take up to $seconds seconds)"