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:
su james -c "/home/james/tomcat/bin/startup.sh"
su postgres -c "/var/lib/pgsql/runpgsql"
On Mon, 3 Feb 2003 03:27:47 +0700
"Aramico" <email@example.com> wrote:
> Hi all,
> How can i make these things run automatically at first time of My linux boot
> 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