register with chkconfig; stop service before removal (fix #37)