File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -135,14 +135,14 @@ def messaging_client
135135 end
136136
137137 def notify_started
138- SdNotify . ready
138+ SdNotify . ready if ENV . fetch ( "NOTIFY_SOCKET" , nil )
139139 end
140140
141141 def heartbeat
142- SdNotify . watchdog
142+ SdNotify . watchdog if ENV . fetch ( "NOTIFY_SOCKET" , nil )
143143 end
144144
145145 def notify_stopping
146- SdNotify . stopping
146+ SdNotify . stopping if ENV . fetch ( "NOTIFY_SOCKET" , nil )
147147 end
148148end
Original file line number Diff line number Diff line change 22
33require "bundler/inline"
44
5- gemfile do
5+ gemfile ( false ) do
66 source "https://rubygems.org"
77
88 gem "manageiq-loggers" , "~>1.0"
99 gem "manageiq-messaging" , "~> 1.0"
1010 gem "rbvmomi2" , "~> 3.3"
11- gem "sd_notify"
11+ gem "sd_notify" if ENV . fetch ( "NOTIFY_SOCKET" , nil )
1212 gem "json"
1313end
1414
You can’t perform that action at this time.
0 commit comments