What is best practice to perform a clean shutdown of a Wakanda server via OS X shell scripting?
This would be with a solution currently loaded and operating.
This shell script is tested working in Mac OS:
#killWakanda.sh
pids=$(pgrep $1)
kill -9 $pids
Depends on you are running Wakanda community version of Enterprise version. The name of Wakanda server could be passed in as a parameter (Wakanda Server or Wakanda Enterprise Server):
This kills Wakanda Enterprise Server
sh /pathOfShellScript/killWakanda.sh Wakanda Enterprise Server
This kills Wakanda Community Server
sh /pathOfShellScript/killWakanda.sh Wakanda Server