You are not logged in.
Pages: 1
I would like to only start mysql when amarok starts instead of it running as a deamon.
How would I go about this?
I was thinking a script or alias but need some help writing one as mysql needs to be started as root, and amarok as my user. So far I have come up w/
sudo /etc/rc.d/mysqld start | amarok
but amarok starts before I can enter password for sudo and my databased is not loaded.
Also is there a way to stop mysqld when amarok shuts down?
Offline
sudo /etc/rc.d/mysqld start && amarok
Offline
thanks, I knew I was close:-)
Now if I can olny stop after amarok shuts down.
Last edited by somairotevoli (2007-10-22 19:01:16)
Offline
Pages: 1