[Mnet-devel] restarted MT for v0.6 network, and installation
of v0.7
icepick
icepick at icepick.info
Thu May 27 05:48:17 BST 2004
Zooko wrote:
> Thank you for the quick response. The way to start Mnet is as simple as
> "Mnet > log 2>&1 &". However, I think you should not bother automating
> this and installing Mnet in your own account yet.
>
> After PET 2004, I will check to be sure that the right version of Mnet
> is easy to build and launch so forth.
>
> So for now let's continue like this -- I'll manually restart the MT on
> mnet.ibuc.com if I ever notice that we're running low on MetaTrackers.
One way I found that makes it easy to run a daemon like Mnet has a user
is the @reboot option in the Paul Vixie cron.
I have a script called "run_mnet.sh" that looks like this:
#!/bin/sh
cd mnet
LOGFILE=mnet-`date --iso-8601=seconds -u`.log
nohup ./Mnet >$LOGFILE 2>&1 &
rm mnet.log
ln -sf $LOGFILE mnet.log
Then I have a crontab entry like this:
@reboot /home/mnet/run_mnet.sh
(this is assuming that you have a user named "mnet" who has the mnet src
in ~/mnet).
You may want to skip having the log file. I can eatup a lot of room.
I look forward to continuing work on 0.7 this weekend, focusing only on
issues that will make it feature complete with 0.6 (read CT, and GUI).
icepick
More information about the Mnet-devel
mailing list