spblat wrote:
Hey folks:

I wrote a very simple script today (attached) that does the following:

- Downloads and untars the latest nightly 6.2 build
- Creates a symlink to the new build at /usr/local/slimserver
- Kills yesterday's version's daemon
- Starts the new version as a daemon

If you're downloading nightlies regularly you're much better off using subversion to get the latest updates.

Assuming you already have a nightly or rpm version installed in /usr/local/slimserver, here's what to do:

login as slimserver
cd /home/slimserver
svn co http://svn.slimdevices.com/repos/slim/trunk
su -
service slimserver stop (or /etc/init.d/slimserver stop)
cd /usr/local
mv slimserver slimserver.001
ln -s /home/slimserver/trunk/server/ slimserver
service slimserver start (or /etc/init.d/slimserver start)

That's it.

Now, all you need to do to update to the latest revision is:

login as slimserver
cd /home/slimserver/trunk
svn up
su -
service slimserver restart

R.
--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to