Please help with somewhat of a newbie question:
I want to change the way a service starts on boot: to run with a particular command line parm. Is this the normal procedure (speaking generally)??:
(emacs or vi) /etc/init.d/<yourservice>d
----> look for the execute line in the script
----> add the --parm
Specifically, I want to add the --ansi command line parm to mysqld. I tried changing /etc/init.d/mysqld, in the place where it runs the service -
(actually it runs /usr/bin/safe_mysqld) -
by inserting --ansi preceding the already existing command line parms.
Then # service mysqld stop
# service mysqld start (get an [ok])
There is a problem, though. Before I post to the MySql forum I want to confirm I did all the *nix specific stuff correctly. (The problem is that the /var/lib/mysql/mysql.sock file doesn't get created. Restoring the service script to it's original state and restarting fixes this)
Thanks in advance!
I want to change the way a service starts on boot: to run with a particular command line parm. Is this the normal procedure (speaking generally)??:
(emacs or vi) /etc/init.d/<yourservice>d
----> look for the execute line in the script
----> add the --parm
Specifically, I want to add the --ansi command line parm to mysqld. I tried changing /etc/init.d/mysqld, in the place where it runs the service -
(actually it runs /usr/bin/safe_mysqld) -
by inserting --ansi preceding the already existing command line parms.
Then # service mysqld stop
# service mysqld start (get an [ok])
There is a problem, though. Before I post to the MySql forum I want to confirm I did all the *nix specific stuff correctly. (The problem is that the /var/lib/mysql/mysql.sock file doesn't get created. Restoring the service script to it's original state and restarting fixes this)
Thanks in advance!