> I apologise; I've asked this question before (with no takers :-) ), but it is still giving
> me problems, so I thought I'd give it one more try.
>
> I've have Subversion installed and working very nicely under OS X (on an
> old iMac I bought specifically for this, actually), but have one small problem;
> I cannot for the life of me get the scripts that should start it up as a daemon
> at boot working properly. I've tried settup it up both as an xinetd service,
> and and a standalone service, to no avail.
>
> I don't expect a walkthrough or anyone, but I'm hoping some other OS X
> user might have this working, and would simply post the appropriate
> scripts/config files to the group...
>
> Thanks,
> Ken McDonald
this setup works perfectly for me on OSX 10.3.3 & 10.2.8 ... hope it helps =)
mkdir /Library/StartupItems/SubVersion
------------------------------------------
(EDITOR) /Library/StartupItems/SubVersion/SubVersion
#!/bin/sh
. /etc/rc.common
if [ "${SUBVERSION:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting SubVersion Source Control"
/usr/local/bin/svnserve -d
fi
------------------------------------------
------------------------------------------
(EDITOR) /Library/StartupItems/SubVersion/StartupParameters.plist
{
Description = "SubVersion Server";
Provides = ("SourceControl");
Requires = ("Disks", "Resolver","Network Time");
OrderPreference = "None";
Messages =
{
start = "Starting SubVersion Source Control";
stop = "Stopping SubVersion Source Control";
};
}
------------------------------------------
chown -R root:wheel /Library/StartupItems/SubVersion ;\
chmod 755 /Library/StartupItems/SubVersion ;\
chmod 755 /Library/StartupItems/SubVersion/SubVersion ;\
chmod 644 /Library/StartupItems/SubVersion/StartupParameters.plist
------------------------------------------
(EDITOR) /etc/hostconfig
+++ SUBVERSION=-YES-
------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 31 06:01:14 2004