Results 1 to 4 of 4

Thread: svnserve on login?

  1. #1
    Join Date
    Oct 2006
    Location
    Boulder, CO
    Beans
    137
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    run script on login?

    I would like this command to run when I log in to ubuntu:

    svnserve -d -r /home/username/svnrepository

    After I log in to ubuntu I can type that in the terminal and then I can access the svn repository from my windows machine. I tried putting this into

    .bash_profile
    .bash_login

    But that doesn't work. I also tried installing openbsd-inetd and using that, but tortoisesvn on windows gets a "malformed data" or something like that. I used this page as a reference for the inetd method:

    http://kennethfinnegan.blogspot.com/...ntu-setup.html

    At this point I just want to know how to run a script automatically when I log into ubuntu.
    Last edited by Ansible; May 22nd, 2008 at 07:49 PM.

  2. #2
    Join Date
    Apr 2006
    Location
    Toronto, Ontario, Canada
    Beans
    296
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: svnserve on login?

    Why not set it up as a start-up service in System > Preferences > Sessions?

  3. #3
    Join Date
    Oct 2006
    Location
    Boulder, CO
    Beans
    137
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: svnserve on login?

    I guess because I had no idea that existed? Works like a charm, thx.

  4. #4
    Join Date
    Apr 2006
    Location
    Toronto, Ontario, Canada
    Beans
    296
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: svnserve on login?

    "I love it when a plan comes together."

    - The A-Team

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •