This is the mail archive of the
mailing list for the Cygwin project.
cygrunsrv + postgresql stale pid work around
- From: Sys <sys at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 19 Mar 2003 14:59:36 -0800 (PST)
- Subject: cygrunsrv + postgresql stale pid work around
I've seen this problem come up on various mailing
lists and wanted to share my work-around.
Create a script file (name it
/usr/bin/postmaster_service) with the following
exec /usr/bin/postmaster -D /usr/share/postgresql/data
create cygrunsrv to call postmasterservice instead of
cygrunsrv --install postmaster_service --path
/usr/bin/postmaster_service --dep ipc-daemon --termsig
voila! that should do it.
windows will be smart enough to not let you start
service when it's already started.
so as long as you dont manually run postmaster and
then try to start postmaster_service
you should be ok.
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html