Make svnserve load on startup (Ubuntu)
Make svnserve load on startup:
First create a new script on init.d
vi /etc/init.d/svnserve
The script’s contents:
#!/bin/bash ### BEGIN INIT INFO # Provides: svnserve # Required-Start: $local_fs $remote_fs $network $syslog # Required-Stop: $local_fs $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start subversion server ### END INIT INFO svnserve --listen-host=myhost.com -d -r /path/to/svn/repos
Then make the script is executable
chmod +x /etc/init.d/svnserve
Use update-rc.d to add script to init
update-rc.d svnserve defaultsThat’s it!











Excellently)))))))
Your phrase is very good