AXISHK
asked on
Configure daemon on redhat
How to put the following services on Redhat such that it can start when it first bootup ? Tks
./mysql-proxy --proxy-address=:3306 --proxy-backend-addresses= xxxxxx:330 6 --daemon
./mysql-proxy --proxy-address=:3306 --proxy-backend-addresses=
You should always use full paths, add the line into /etc/rc2.d/rc.local
ASKER
What file name and extension should I use ? Simply put the whole path and file into that file and that's all ??
Tks
Tks
Yes.
Rc.local is executed last and terminated first.
It does not include controls as a service would which you can use any of the ones in /etc/init.d as an example.
Rc.local is executed last and terminated first.
It does not include controls as a service would which you can use any of the ones in /etc/init.d as an example.
ASKER
"It does not include controls as a service would which you can use any of the ones in /etc/init.d as an example."
What does you mean ? It is better to code it in a script similar to another one under /etc/init.d ?
Tks
What does you mean ? It is better to code it in a script similar to another one under /etc/init.d ?
Tks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tks