Iniciar comando, al encender el equipo

Cada vez que inicio mi computadora, tengo que correr Apache con:

sudo systemctl start httpd.service

¿Hay alguna forma que se ejecute cuando enciendo?
de antemano gracias.

Make sure to set a static hostname and enable the service:

sudo hostnamectl hostname fedora
sudo systemctl enable httpd.service

If the problem persists, check the service status when it happens:

systemctl status httpd.service
3 Likes