- $ echo "svnserve -d --foreground -r /home/svn" \
| sudo tee /etc/init.d/svnserve - $ sudo chmod +x /etc/svnserve
- $ sudo update-rc.d svnserve defaults
Tuesday, January 12, 2010
Start svnserve at boot in Ubuntu
This post provides a very simple init script to get svnserve going at boot. In Slackware, I only had to make a script executable for it to run at boot; here you must use some update-rc.d magic:
Subscribe to:
Post Comments (Atom)
1 comments:
in arch i just add svnserve to the ordered list DAEMONS at the bottom of /etc/rc.conf :P
Post a Comment