can't get my init script working
i made a script 'tomcat' in /etc/init.d/tomcat
then i made a symbolic link to it in rc5.d by 'ln -s /etc/init.d/tomcat S99tomcat'
it doesnt work...what am i doing wrong?
im working on FC2
Is the script executable? What happens if you run the script from the command line?
it wasnt exceutable before....
atleast now the last line is working(startup.sh) but the variables are not getting set.
am i supposed to use the variable setting in another file?
if i add those export lines in /root/.bash_profile........will it be set for all users on boot?
If you in /root.bashrc, it will be only for root user.
Try putting on /etc/profile
A small point, may be worth looking into. Is the init run level in 5?
putting the env. lines in etc/profile worked
but now startup.sh isnt getting run as $CATALINA_HOME/.../startup.sh or /fullpath/startup.sh or 'sh /fullpath/startup.sh/
and it is in runlevel 5
|All times are GMT -5. The time now is 12:24 AM.|