Results 1 to 1 of 1
Below is my "/etc/init.d/newatlanta" start/stop script linked to "/etc/rc3.d/S99newatlanta" and "/etc/rc2.d/K01newatlanta". However I can never get it to launch ServletExec at boot. If I run the script file "newatlanta" from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-26-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 1
ServletExec 5.0 boot script help
Below is my "/etc/init.d/newatlanta" start/stop script linked to "/etc/rc3.d/S99newatlanta" and "/etc/rc2.d/K01newatlanta". However I can never get it to launch ServletExec at boot. If I run the script file "newatlanta" from the shell nothing happens but running the command su - webuser -c /usr/local/NewAtlanta/ServletExecAS/se-servera-smconsole-8888/StartServletExec & works just fine.
I have verified that the permissions are set for the "webuser"
Any help is much appreciated.
###########NewAtlanta Script Below################
#!/bin/sh
# this script starts and stops the New Atlanta 5.0 application server
# at boot time
#case "$1" in
'start')
su - webuser -c /usr/local/NewAtlanta/ServletExecAS/se-servera-smconsole-8888/StartServletExec &
;;
'stop')
su - webservd -c /usr/local/NewAtlanta/ServletExecAS/se-pompeii-smconsole-44481/StopServletExec
su - webservd -c /usr/local/NewAtlanta/ServletExecAS/se-pompeii-44480/StopServletExec
;;
esac


Reply With Quote
