hello everyone;
I just wanted to know where to put my start and stop scripts to run the start jobs at the boot time and my stop jobs at shutdown.
for example I like to start my mysql db at start and shutit down when the server is going down.
I like to run this jobs to start mysql when the system is coming up.
/bin/sh -c 'cd /usr/local/mysql; ./bin/safe_mysqld'
And run the
su - oracle -c "/oracle/product/8.1.7/bin/lsnrctl stop"
when the server is going down.
where should I place these lines?
thank you all
I just wanted to know where to put my start and stop scripts to run the start jobs at the boot time and my stop jobs at shutdown.
for example I like to start my mysql db at start and shutit down when the server is going down.
I like to run this jobs to start mysql when the system is coming up.
/bin/sh -c 'cd /usr/local/mysql; ./bin/safe_mysqld'
And run the
su - oracle -c "/oracle/product/8.1.7/bin/lsnrctl stop"
when the server is going down.
where should I place these lines?
thank you all