User foreman:restart as a hook