sudo service rabbitmq-server restart code example Example: restart rabbitmq service linux sudo service rabbitmq-server restart