• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: How to start subversion's svnserve daemon automatically?  (Read 3207 times)
KPexEA
Newbie
*

Karma: 0
Posts: 19


View Profile
« on: December 14, 2009, 11:19:27 PM »

I got my plug last week. I have a 16gb sd card and a 500gb USB drive attached.

So far I have subversion and a samba share working on it.

I can start svnserve manually by typing svnserve -d -r /mnt/sd/svnrepos
and that works fine.

But I want it to work automatically when re-booting so I added

svn stream tcp nowait root /usr/bin/svnserve svnserve -i -r /mnt/sd/svnrepos

to my /etc/inetd.conf file and when I reboot it doesn't run automatically when trying to connect.

Is my line in the inetd.conf file correct?
Help!
Thanks
Kevin
Logged

fragfutter
Sr. Member
****

Karma: 12
Posts: 280


View Profile
« Reply #1 on: December 15, 2009, 01:09:04 AM »

is inetd installed (dpkg -l) and started (ps -ef) after a reboot? Is it opening a listening socket for svn (netstat -npt)? is there anything in the logs (/var/log)
Logged

KPexEA
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #2 on: December 15, 2009, 10:16:05 AM »

Thanks!!

Seems inetd is not installed so I just added the svnserve init code to /etc/rc.local instead. But, at first it still didn't work as the default /etc/rc.local is messed up so I had to fix it by following the instructions here: http://computingplugs.com/index.php/Fixing_apt-get

Kevin
Logged

Pages: [1]
Print
Jump to: