I have Apache Tomcat installed on my Ubuntu box. It has a script called "startup.sh" that I'd like to have run at boot (but after the Apache webserver starts). How do I go about doing that? Also, I'd like to have it run as the same user as the webserver (www-data), rather than as my user.
I could tell you how to do it in Debian. This is probably a RTFM situation. In Debian you put your script in the /etc/init.d/ folder, and run the update-rc.d command. update-rc.d is Debian specific as far as I know, but there may be something similar in Ubantu. Good luck!
_________________ I have a cheese-shredder, which is its positive name. They don't call it by its negative name, cause no one would buy it: sponge-ruiner. Because I wanted to clean it, and now I have little bits of sponge that would melt easily over tortilla chips.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum