jonbutler_uk
asked on
Gentoo: Adding services to be run after a boot
Hi,
How do I set non /etc/init.d services to be started after a boot in Gentoo linux? I have used the rc-update command to add services which have a script in /etc/init.d such as "rc-update add mysql default" which is working fine.
I have built the following services from source but is there any way to get them started automatically?
Apache: /usr/local/apache2/bin/apa chectl start
Webmin: /usr/local/webmin/webmin-i nit start
Many thanks.
How do I set non /etc/init.d services to be started after a boot in Gentoo linux? I have used the rc-update command to add services which have a script in /etc/init.d such as "rc-update add mysql default" which is working fine.
I have built the following services from source but is there any way to get them started automatically?
Apache: /usr/local/apache2/bin/apa
Webmin: /usr/local/webmin/webmin-i
Many thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
or simply use /etc/conf.d/local.start /etc/conf.d/local.stop
> I have built the following services from source but is there any way to get them started automatically?
Why on earth do you build stuff from source when you are running Gentoo?
Both webmin and Apache are included in gentoos portage system, and any tweeking you need done can be made by editing the /etc/make.conf...
Cheers
Jonas
Why on earth do you build stuff from source when you are running Gentoo?
Both webmin and Apache are included in gentoos portage system, and any tweeking you need done can be made by editing the /etc/make.conf...
Cheers
Jonas