[PATCH] Added delayed_job to check and restart services scripts

Maros Zatko mzatko at redhat.com
Thu Jul 12 08:59:42 UTC 2012


On 07/12/2012 10:21 AM, Tomáš Hrčka wrote:
> ---
>   bin/aeolus-check-services   |    2 +-
>   bin/aeolus-restart-services |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/bin/aeolus-check-services b/bin/aeolus-check-services
> index 584aa58..27013c2 100755
> --- a/bin/aeolus-check-services
> +++ b/bin/aeolus-check-services
> @@ -27,7 +27,7 @@ To restart aeolus services please use aeolus-restart-services.
>   end
>   
>   # ordered as in rc.d
> -init_scripts=%w(mongod iwhd postgresql httpd deltacloud-core libvirtd aeolus-conductor conductor-dbomatic imagefactory ntpd)
> +init_scripts=%w(mongod iwhd postgresql httpd deltacloud-core libvirtd aeolus-conductor conductor-delayed_job conductor-dbomatic imagefactory ntpd)
>   
>   init_scripts.each do |script|
>   	puts "\nChecking #{script} ..."
> diff --git a/bin/aeolus-restart-services b/bin/aeolus-restart-services
> index 35a68d4..c74d32b 100755
> --- a/bin/aeolus-restart-services
> +++ b/bin/aeolus-restart-services
> @@ -27,7 +27,7 @@ To show status of aeolus services please use aeolus-check-services.
>   end
>   
>   # ordered as in rc.d
> -services = %w(mongod iwhd postgresql httpd deltacloud-core libvirtd aeolus-conductor conductor-dbomatic imagefactory ntpd)
> +services = %w(mongod iwhd postgresql httpd deltacloud-core libvirtd aeolus-conductor conductor-delayed_job conductor-dbomatic imagefactory ntpd)
>   
>   def perform(action, svcs)
>     action = action.to_s
ack & pushed




More information about the aeolus-devel mailing list