#restart
4 commande(s) avec le tag #restart
Commandes partagées par la communauté CodeBox, copiables en un clic.
Redémarre Apache (httpd) sur CentOS/RHEL.
sudo systemctl restart httpd
Ansible
Redémarrer un service
Redémarre un service systemd sur tous les hôtes.
ansible all -m service -a "name=nginx state=restarted" --become
Apache
Redémarrer Apache
Redémarre Apache2 (ferme et rouvre les connexions).
sudo systemctl restart apache2