diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-12-31 18:46:55 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-12-31 18:46:55 +0000 |
commit | ac3355f9bb7b39e8c623bc445b18c857e0501e93 (patch) | |
tree | 88945f76e18f5cc04fc0a2c4dd311eb7fdde07ba /dev-db | |
parent | version bump. masked for testing (diff) | |
download | gentoo-2-ac3355f9bb7b39e8c623bc445b18c857e0501e93.tar.gz gentoo-2-ac3355f9bb7b39e8c623bc445b18c857e0501e93.tar.bz2 gentoo-2-ac3355f9bb7b39e8c623bc445b18c857e0501e93.zip |
revert back to ver 1.2...
Diffstat (limited to 'dev-db')
-rwxr-xr-x | dev-db/postgresql/files/postgres | 3 |
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 ${@} + |