[Nix-dev] upstart: pre-stop not executed?

Lluís Batlle i Rossell viriketo at gmail.com
Wed Jun 9 08:58:37 CEST 2010


Some time ago I reworked the postfix script so it worked better with upstart.
I thought that it was working.
I confirm the problem.

Check the log before trying to fix it - there is information about what works
worse. :)

On Wed, Jun 09, 2010 at 02:25:11AM +0200, Marc Weber wrote:
> I can't see upstart executing pre-stop scripts.
> 
> In the postfix case this is fatal because postfix won't be stopped.
> If it is not stopped it won't be restarted because its still running.
> 
> Can anyone confirm this?
> 
> try
> stop postfix
> start postfix
> 
> you cat run the stop command found in the upstart file manually to stop
> it. Then you can restart it.
> 
> Marc Weber
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list