etc/init.d/vz-redhat: add update-cron

Originally from Thorsten Schifferdecker <curx@openvz.org>:
> Since vz-init-script handles the cron script, it's impossilbe reload
> crontabs without restart in the whole vz system, so with
> /etc/init.d/vz update-cron this can be done.

Patch reworked to do more general thing, i.e. either install or remove
of cron entries, depending on whether openvz is running or not.

Silent is_running() function is used to check for current status.

http://bugzilla.openvz.org/599
1 file changed