• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: lauchd and svnserve
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lauchd and svnserve


  • Subject: Re: lauchd and svnserve
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 24 Sep 2008 12:22:00 +0200


On Sep 24, 2008, at 10:24 AM, René v Amerongen wrote:

[...]
1.)While svnserve is running, in my Subversion_SVNserve.log log I see.
svnserve: Root path '/Volumes/Development_Current/_CodeRepository' does not exist or is not a directory.
svnserve: Root path '/Volumes/Development_Current/_CodeRepository' does not exist or is not a directory.
svnserve: Can't bind server socket: Address already in use
svnserve: Can't bind server socket: Address already in use
svnserve: Can't bind server socket: Address already in use
...


and at the console I see the Launchd log

24-09-08 10:06:36 com.apple.launchd[1] (subversion.svnserve[684]) Exited with exit code: 1
24-09-08 10:06:36 com.apple.launchd[1] (subversion.svnserve) Throttling respawn: Will start in 10 seconds
24-09-08 10:06:46 com.apple.launchd[1] (subversion.svnserve[685]) Exited with exit code: 1
24-09-08 10:06:46 com.apple.launchd[1] (subversion.svnserve) Throttling respawn: Will start in 10 seconds
.....


Yesterday I did have a huge PID number a little scary.
Why is it trying to start again?

Because that's launchd designed behavior.

How can I stop that?

Remove your launchd script and restart the Mac.

or use the launchctl(1) tool

2.) When I unmount the drive, then the svnserve keeps running. I thought the the daemon will get killed.
However it restart when the drive is mounted back online. But how can I get this killed when unmounting the drive.



3.) Actualy I would like to have it start at demand and kills after 10 minutes. I notice that the OnDemand key is gone in 10.5. But how should I do it now?


4.) I did see a few sample script with ip socket info in the plist, what is that for? Do I need that?

You should probably ask these questions on the darwin-dev mailing list. Cocoa-dev is for Cocoa-MacOnly questions.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >lauchd and svnserve (From: René v Amerongen <email@hidden>)

  • Prev by Date: Re: Image processing in Cocoa
  • Next by Date: Re: lauchd and svnserve
  • Previous by thread: lauchd and svnserve
  • Next by thread: Re: lauchd and svnserve
  • Index(es):
    • Date
    • Thread