start server at boot in gentoo?
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 Code:
/opt/lampp/lampp start I tried to copy the script to /etc/init.d/ and run Code:
rc-update add lampp default 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 Code:
#!/sbin/runscript Code:
exec lampp start |
Horray! I got it.
I added this line to my /etc/conf.d/local.start file Code:
/opt/lampp/lampp start I found it at the Xampp forums which I hadn't seen til tonight. XAMPP Forums |
All times are GMT -5. The time now is 05:41 AM. |