I'm using Redhat 7.1/7.2 at work (unfortunatly, but we're switching to Debian) and all those machines have the 'service' command (/sbin/service) that does this for you... So you invented the weel again... :)