Use correct exit code
Add shutdown console out
Rename restart console out
Rename log write console out