They are both doing the exact same thing. In your case it's just stopping and starting the service with separate commands instead of restarting with a single command.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments