13 commande(s) avec le tag #service
Commandes partagées par la communauté CodeBox, copiables en un clic.
Affiche l'état courant du service Apache2.
sudo systemctl status apache2
Redémarre Apache (httpd) sur CentOS/RHEL.
sudo systemctl restart httpd
Configure le projet comme une Progressive Web App.
ng add @angular/pwa
Configure Apache2 pour démarrer automatiquement au boot.
sudo systemctl enable apache2
Affiche les services d'un cluster ECS.
aws ecs list-services --cluster mon-cluster --output table
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
Recharge la configuration sans couper les connexions actives.
sudo systemctl reload apache2
Empêche Apache2 de démarrer automatiquement au boot.
sudo systemctl disable apache2
Redémarre Apache2 (ferme et rouvre les connexions).
sudo systemctl restart apache2