Starting Subversion on startup

ferrisb

macrumors member
Original poster
Jun 23, 2003
52
0
Riverton, Utah
I've got subversion running on my mac, and it's been working great. I've been using the svnserve app to access my repositories, however, everytime I've had to restart my mac, I have to restart svnserve manually.

How can I make it so that svnserve launches automatically at startup? I tried following the method mentioned here:

http://carlsbadcubes.com/blog/software/

But it doesn't make to much sense to me as to what to do. I put that .plist file in the folder mentioned, but svnserve still wouldn't start. Can anyone help me out here?

Thanks!
 

ferrisb

macrumors member
Original poster
Jun 23, 2003
52
0
Riverton, Utah
I looked at that, however, svnserve is started via the command line, and I need to pass a few parameters to it. Can I do that from the login items tab?

(svnserve -d -r /path/to/repo/ for example)
 

panphage

macrumors 6502
Jul 1, 2003
496
0
You could pass it arguments by making an applescript to do it, I'll see if I can find the instruction page I used later. But what you really should do is make a startupitem. That way it starts every time the computer starts. Look in /System/Library/StartupItems for examples. I put mine in /Library/StartupItems, I don't know what the "proper" hierarchy is here.

EDIT: http://www.osxfaq.com/Tutorials/LearningCenter/HowTo/Startup/index.ws
I really think this is The Way To Go®.