QUOTE(Ichy @ Jan 1 2013, 07:51)

Nice (IMG:[
invalid]
style_emoticons/default/happy.gif)
My new server will have 2 Hard Disk Drives and I want to do a little more then just running 1 h@h.
In the end I want to have 3 Clients running, the autostart script mentioned above and also teh monitoring software G just G is using in the
other thread.
Sooo... I guess the procedure will be about the same in the beginning. Update Ubuntu (Ubuntu 12 64 bit) then install Java.
Then I need 3 instances of h@h. My guess it is the best to have 1 h@h at one hd and 2 in the second.
Then we want to install the monitoring software and the startup script to the first hd.
Problem is I have absolutely no clue how to create such a script and how to add it.
Same for the monitoring software! halp!
It depends on the setup you have.
If you've got a router (not those you buy from the store)/ firewall you can setup an web net monitor and grab the information from there.
Otherwise
ntop (advanced),
iptraf or
bmon will suite you fine.
For Ubuntu the standard suggest;
upstart.
For that it would be something like this:
CODE
#/etc/init/hath.conf
# Sets when it shall startup and shutdown.
start on startup # You will need to check these are still used
stop on shutdown # ------------------------||---------------------------
# Will restart the client incase daemon is killed.
respawn
respawn limit 99 5
script
user=' the user you want to run H@H '
exec su ${user} -c "/usr/bin/java -jar /home/${user}/HentaiAtHome.jar --silentstart"
end script
# This is will only execute after you've started the script
post-start script
end script
Set the upstart in the init conf file (I think..)
And not to sound too much like an asshole.
If you don't have the time for Linux, maybe you should have stay with Windows/Mac OS X..
But if you do got the time read this:
[
upstart.ubuntu.com]
http://upstart.ubuntu.com/cookbook/or
[
help.ubuntu.com]
https://help.ubuntu.com/community/UbuntuBootupHowtoin case this does not work.
This post has been edited by GanGun : Jan 1 2013, 16:46