Revision 5abef1b1 daemons/daemon-util.in

b/daemons/daemon-util.in
31 31
  ganeti-wconfd
32 32
  ganeti-noded
33 33
  ganeti-masterd
34
  ganeti-metad
34 35
  ganeti-rapi
35 36
  ganeti-luxid
36 37
  )
......
174 175
  local name
175 176

  
176 177
  for name in "${DAEMONS[@]}"; do
177
    echo "$name"
178
    if [[ "$name" != ganeti-metad ]]; then
179
      echo "$name"
180
    fi
178 181
  done
179 182
}
180 183

  
181 184
# Prints a list of all daemons in the order in which they should be stopped
182 185
list_stop_daemons() {
183
  list_start_daemons | tac
186
  for name in "${DAEMONS[@]}"; do
187
    echo "$name"
188
  done | tac
184 189
}
185 190

  
186 191
# Checks whether a daemon name is known

Also available in: Unified diff