make copatible with chkconfig