This should be
/etc/init.d instead of
/etc/rc.d for Ubuntu, but the script won't work anyway since it uses stuffs that are specific to archlinux :/
I didn't bother to write a startup script for launching my H@H client, and I manually run it in a [
www.gnu.org]
screen session, so maybe you can do that too. Here are the steps:
- Create a new screen session using the following command: screen
- Press space in order to remove the welcome message.
- Go to the directory where H@H is installed using the cd command.
- Launch the H@H client using a command like: java -jar HentaiAtHome.jar
- Check that the client startup doesn't fail.
- Leave the screen session by typing Ctrl+A, then D.
- The client is still running in the screen session, even though you can't see it anymore. You can close your ssh session now.
- If you want to shutdown the client, you have to go back to the screen session by typing: screen -r
- Then you can kill the client though Ctrl+C.
The only thing that is missing here is how to launch the client using another user account (the hath account that you created reading the guide). Using the
sudo command might be the solution.