Show output of the on_restart hook in deploy show

[#63023090]