summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-12-31 18:46:55 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-12-31 18:46:55 +0000
commit2f3433734cd87b5853f1b9288a16f0b9b614be76 (patch)
treeef1347fc4aa7458fe563d8b46830135350023500 /dev-db
parentversion bump. masked for testing (diff)
downloadhistorical-2f3433734cd87b5853f1b9288a16f0b9b614be76.tar.gz
historical-2f3433734cd87b5853f1b9288a16f0b9b614be76.tar.bz2
historical-2f3433734cd87b5853f1b9288a16f0b9b614be76.zip
revert back to ver 1.2...
Diffstat (limited to 'dev-db')
-rwxr-xr-xdev-db/postgresql/files/postgres3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-db/postgresql/files/postgres b/dev-db/postgresql/files/postgres
index 9968708984de..f8f047c19f12 100755
--- a/dev-db/postgresql/files/postgres
+++ b/dev-db/postgresql/files/postgres
@@ -25,7 +25,7 @@ start() {
einfo "Starting ${SERVICE}.."
if [ "${USE_SYSLOG}" = "yes" ]
then
- sudo -u ${PGUSER} "${EXE} ${PGOPTS} -p ${PGPORT} 2>&1" | logger -p ${FACILITY}.notice 1>&2 &
+ su - ${PGUSER} -c "${EXE} ${PGOPTS} -p ${PGPORT} 2>&1" | logger -p ${FACILITY}.notice 1>&2 &
fi
eend $? "Error starting ${SERVICE}."
}
@@ -43,3 +43,4 @@ restart() {
doservice ${@}
+