diff options
author | Max Rees <maxcrees@me.com> | 2019-07-22 20:15:07 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-07-22 20:15:07 -0400 |
commit | 2707df6cc761dcc2341faa8bafec5b4b4fa33e4d (patch) | |
tree | 9df7c2d2fd84f153634581ff4fb249b98bf34ffa /user/postgresql/postgresql.initd | |
parent | b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71 (diff) | |
download | packages-2707df6cc761dcc2341faa8bafec5b4b4fa33e4d.tar.gz packages-2707df6cc761dcc2341faa8bafec5b4b4fa33e4d.tar.bz2 packages-2707df6cc761dcc2341faa8bafec5b4b4fa33e4d.tar.xz packages-2707df6cc761dcc2341faa8bafec5b4b4fa33e4d.zip |
system/*, user/*: remove bashisms from initd scripts
Diffstat (limited to 'user/postgresql/postgresql.initd')
-rw-r--r-- | user/postgresql/postgresql.initd | 6 |
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)" |