[Wlug] Booting!

Baris Hasdemir penguen@hasdemir.com
Sun, 2 Feb 2003 16:14:14 -0500


in my distribution /etc/rc.local is executed at startup

I would simply add those lines to that file:

apachectl start
su james -c "/home/james/tomcat/bin/startup.sh"
su postgres -c "/var/lib/pgsql/runpgsql"

best wishes,
baris

On Mon, 3 Feb 2003 03:27:47 +0700
"Aramico" <aramico@duahati.com> wrote:

> Hi all,
> 
> How can i make these things run automatically at first time of My linux boot
> up.
> 
> 1.  apachectl start       > Run as root
> 2. /home/james/tomcat/bin/startup.sh  > run as user james
> 3. /var/lib/pgsql/runpgsql > run as postgres
> 
> Thanks.