summaryrefslogtreecommitdiffstats
path: root/package/postgresql/S50postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'package/postgresql/S50postgresql')
-rw-r--r--package/postgresql/S50postgresql4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/postgresql/S50postgresql b/package/postgresql/S50postgresql
index a895bcfcef..1ece4fca9e 100644
--- a/package/postgresql/S50postgresql
+++ b/package/postgresql/S50postgresql
@@ -12,12 +12,12 @@ if [ ! -f /var/lib/pgsql/PG_VERSION ]; then
fi
start() {
- echo -n "Starting postgresql: "
+ printf "Starting postgresql: "
su - postgres -c '/usr/bin/pg_ctl start -w -D /var/lib/pgsql -l logfile'
echo "OK"
}
stop() {
- echo -n "Stopping postgresql: "
+ printf "Stopping postgresql: "
su - postgres -c '/usr/bin/pg_ctl stop -D /var/lib/pgsql -m fast'
echo "OK"
}
OpenPOWER on IntegriCloud