#start
12 commande(s) avec le tag #start
Commandes partagées par la communauté CodeBox, copiables en un clic.
Redémarre Apache (httpd) sur CentOS/RHEL.
sudo systemctl restart httpd
Démarre l'exécution du playbook à partir d'une tâche nommée.
ansible-playbook deploy.yml --start-at-task="Installer Nginx"
Démarre une instance EC2 arrêtée.
aws ec2 start-instances --instance-ids i-0123456789abcdef0
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
Démarre le service Apache (httpd) sur CentOS/RHEL.
sudo systemctl start httpd
Apache
Redémarrer Apache
Redémarre Apache2 (ferme et rouvre les connexions).
sudo systemctl restart apache2
Next.js
Lancer en production
Démarre l’application en mode production après un build
Lancer en production