> Le 27 mai 2015 à 04:53, Todd Wade a écrit :
> 
> 
> Hello,
> 
> I put http://paste.scsys.co.uk/483275 at 
> /Library/LaunchDaemons/homebrew.mxcl.httpd24.plist and it started apache, but 
> Server.app keeps logging 'com.apple.xpc.launchd[1] (homebrew.mxcl.httpd24): 
> Service only ran for 0 seconds. Pushing respawn out by 10 seconds.'
> 
> Why is launchd trying to restart its target when it is already running?

Hello Todd,

This is very likely because your plist starts apache thru apachectl, which 
quits as soon as it has done its job; as a result, launchd tries to reload the 
job (ie apachectl) it is supposed to keep alive.

HTH,
Axel


_______________________________________________
launchd-dev mailing list
launchd-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/launchd-dev

Reply via email to