Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27252 Details for
Bug 44468
Init-scripts for PostgreSQL that use syslog
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
syslog-enabled pg_autovacuum.init-7.4.2
pg_autovacuum.init-7.4.2 (text/plain), 1.10 KB, created by
Arthur Ward
on 2004-03-12 09:59:21 UTC
(
hide
)
Description:
syslog-enabled pg_autovacuum.init-7.4.2
Filename:
MIME Type:
Creator:
Arthur Ward
Created:
2004-03-12 09:59:21 UTC
Size:
1.10 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-7.4.1,v 1.2 2004/02/13 19:26:51 vapier Exp $ > >depend() { > need postgresql logger >} > >start() { > ebegin "Starting pg_autovacuum" > start-stop-daemon --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE 2>&1 | /usr/bin/logger -p local0.info -t pg_autovacuum & > sleep 1 > pidof /usr/bin/pg_autovacuum > /dev/null > if [ $? -eq 0 ]; then > eend 0 > else > eerror "Please see log file: $PG_AUTOVACUUM_LOG" > eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL." > eerror " stats_start_collector = true" > eerror " stats_row_level = true" > > eerror "Please read /usr/share/doc/postgresql-7.4.1/contrib/README.pg_autovacuum for details." > eend 1 > fi >} > >stop() { > ebegin "Stopping pg_autovacuum" > start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum > result=$? > eend $result >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 44468
:
27251
| 27252