In linux I've always had problems getting servers and stuff to start at boot, unless installed using apt-get in debian or pkg_add in freebsd, because they help you with it.
I prefer the XAMPP approach because using emerge actually compiles everything and the XBox not a very powerful machine, so its a time thing.
I have a XAMPP server running on GentooX and I cant get it to start at boot.
These commands are to start and stop it
The script "lampp" can be moved and run from anyware as long as its by root.
I tried to copy the script to /etc/init.d/ and run
rc-update add lampp default
It seemed like a good idea from what i had read,
But I'm afraid I don't know exactly what I'm doing.
Can someone help me write an init script that works?
Edit:I got this so far
ebegin "Starting XAMPP"
start-stop-daemon --start --quiet --exec /opt/lampp/lamppstart
and the lamppstart is a executable file with this in it (I can run it directly and it works)
still not working