Yes it is stop at the very begining of the operation on the remote server (`pre-restore`) and started again in this file (`post-restore`). This one override the default one, so apache has to be restarted.