Skip to content

Commit ead7ab0

Browse files
committed
added cd to dac_home directory to start and stop script
1 parent 7076246 commit ead7ab0

File tree

1 file changed

+2
-2
lines changed
  • Oracle Scripts/DAC/init.d

1 file changed

+2
-2
lines changed

Oracle Scripts/DAC/init.d/dac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,13 +299,13 @@ echo_in_progress() {
299299

300300
start() {
301301
echo -en "\nStarting DAC Server"
302-
su $ORACLE_OWNR -c "$JAVA -server -Xms256m -Xmx800m -cp $DACCLASSPATH com.siebel.etl.net.QServer" > $START_LOG 2>&1 &
302+
su $ORACLE_OWNR -c "cd $DAC_HOME; $JAVA -server -Xms256m -Xmx800m -cp $DACCLASSPATH com.siebel.etl.net.QServer" > $START_LOG 2>&1 &
303303
wait_to_start $DAC_FINGERPRINT $START_TIMEOUT
304304
}
305305

306306
stop () {
307307
echo -en "\nStopping DAC Server"
308-
su $ORACLE_OWNR -c "$JAVA -cp $DACCLASSPATH com.siebel.etl.bootup.DAWUtils TERMINATE" > $STOP_LOG 2>&1 &
308+
su $ORACLE_OWNR -c "cd $DAC_HOME; $JAVA -cp $DACCLASSPATH com.siebel.etl.bootup.DAWUtils TERMINATE" > $STOP_LOG 2>&1 &
309309
wait_to_die $DAC_FINGERPRINT $STOP_TIMEOUT
310310
}
311311

0 commit comments

Comments
 (0)