This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] Postgresql service uninstall bug


2009/7/31 Thrall, Bryan:
> The /etc/rc.d/init.d/postgresql script has a bug that makes it slightly
> harder to uninstall the service; see the patch below:
>
> $ diff -wup /etc/rc.d/init.d/postgresql{,.mod}
> --- /etc/rc.d/init.d/postgresql 2009-01-07 10:48:52.001000000 -0600
> +++ /etc/rc.d/init.d/postgresql.mod ? ? 2009-07-30 18:06:35.931709600
> -0500
> @@ -113,7 +113,7 @@ install() {
> ?uninstall() {
> ? ? ? ? echo -n $"Uninstalling $prog daemon: "
> ? ? ? ?stop
> - ? ? ? cygrunsrv --remove $prog
> + ? ? ? cygrunsrv --remove $name
> ? ? ? ? echo "done."
> ?}
> ?reload() {
>

Thanks!
Fixed for 8.4.0-1 which is currently in test and will be released shortly.
-- 
Reini Urban
http://phpwiki.org/           http://murbreak.at/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]