Starting Subversion on startup

Discussion in 'Mac Apps and Mac App Store' started by ferrisb, Jun 2, 2005.

  1. ferrisb macrumors member

    Joined:
    Jun 23, 2003
    Location:
    Riverton, Utah
    #1
    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!
     
  2. tobefirst macrumors 68040

    tobefirst

    Joined:
    Jan 24, 2005
    Location:
    St. Louis, MO
    #2
    Have you tried going to your account settings (in system preferences) and clicking on the login items tab?
     
  3. ferrisb thread starter macrumors member

    Joined:
    Jun 23, 2003
    Location:
    Riverton, Utah
    #3
    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)
     
  4. panphage macrumors 6502

    Joined:
    Jul 1, 2003
    #4
    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®.
     

Share This Page