Ralf, On Mon, Oct 07, 2002 at 11:49:24PM +0200, Ralf Habacker wrote: > May be this could be the startpoint for a more unix like > standardisation of cygwin services like postgresql, apache, cron, > inetd apache: (at leased)
I would prefer to leverage off of Sergey's sysvinit package: http://cygwin.com/ml/cygwin/2002-11/msg00669.html The following is the only required diff (besides the expected ones) to PostgreSQL's contrib/start-scripts/linux: @@ -76,7 +76,7 @@ case $1 in ;; restart) echo -n "Restarting PostgreSQL: " - su - $PGUSER -c "$DAEMON restart -D '$PGDATA' -s -m fast" + su - $PGUSER -c "$DAEMON restart -D '$PGDATA' -s -m fast -l $PGLOG" echo "ok" ;; status) Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/