Gerenciar Serviços - listar, parar, resetar, habilitar, desabilitar...


ATENÇÃO: Para distribuições UBUNTU e derivados. Sistema utilizado: LinuxFX. Kernel: 5.4.0-80-generic

 

 

Gerenciar Serviços

 

 

Utilizando os comandos systemctl, manipularemos os serviços


# systemctl list-unit-files - apenas lista todos os serviços e seus status

# systemctl  status apache2 - mostra se o apache2 está em execução(running)

# systemctl stop apache2 - interrompe a execução do apache2

# systemctl start apache2 - executa o serviço apache2

# systemctl restart apache2 - reinicia o serviço apache2

# systemctl enable apache2 - carregará junto com S.O.

# systemctl disable apache2 - não carregará junto com S.O.



Voltar Pagina Inicial

Comentários