From a69fabe7c186db4c75d3e1e2a122f9576798e570 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Thu, 11 Jan 2024 14:35:16 -0600 Subject: [PATCH] Update geoportal_sidekiq.rake Use sidekiq.service --- lib/tasks/geoportal/geoportal_sidekiq.rake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/tasks/geoportal/geoportal_sidekiq.rake b/lib/tasks/geoportal/geoportal_sidekiq.rake index 5172c8d06..11a4929d2 100644 --- a/lib/tasks/geoportal/geoportal_sidekiq.rake +++ b/lib/tasks/geoportal/geoportal_sidekiq.rake @@ -4,15 +4,15 @@ require 'sidekiq/api' namespace :geoportal do desc 'Stop sidekiq' task sidekiq_stop: :environment do - sh "sudo systemctl stop sidekiq-geoportal.service || true" + sh "sudo systemctl stop sidekiq.service || true" sleep(5) - sh "sudo systemctl status --no-pager sidekiq-geoportal.service || true" + sh "sudo systemctl status --no-pager sidekiq.service || true" end task sidekiq_start: :environment do - sh "sudo systemctl start sidekiq-geoportal.service || true" + sh "sudo systemctl start sidekiq.service || true" sleep(5) - sh "sudo systemctl status --no-pager sidekiq-geoportal.service || true" + sh "sudo systemctl status --no-pager sidekiq.service || true" end desc 'Check sidekiq stats'