correct typo in mysql general_log setting as well as adding option for custom init.d script