Hi,
I am writing a script ( start & kill ) for an application. When I test this as follows;
cd /etc/init.d
./Sapp98 start
It works fine but does not put the job in the background - i.e the job remains in the foreground;
Here is the script;
************************************************************
case "$1" in
'start')
su - user -c /opt/application/ExecAS/`hostname`/Start &
;;
esac
************************************************************
What could be causing this?
I am writing a script ( start & kill ) for an application. When I test this as follows;
cd /etc/init.d
./Sapp98 start
It works fine but does not put the job in the background - i.e the job remains in the foreground;
Here is the script;
************************************************************
case "$1" in
'start')
su - user -c /opt/application/ExecAS/`hostname`/Start &
;;
esac
************************************************************
What could be causing this?