Log in

Bekijk de volledige versie : svnserve start at boot



Zigster
23-10-2007, 19:59
Hi folks,

I'm trying to launch svnserve at bootup, so I added in post-boot:

svnserve -d -r /tmp/myrepository

but it's not running after boot ... paths are correct, because starting the daemon from shell with the same command line works perfectly...

I even added a little sleep before ... to no prevail...

Any suggestions are very much appreciated !

Reagrds

Zigster

oleo
23-10-2007, 20:50
add

export PATH=/opt/bin:/opt/sbin:$PATH
at beginning of your script.

Zigster
23-10-2007, 21:26
Hi oleo,

works like a charm ... thank you!

Zigster