Utilizando Systemd

Listando serviços instalados

systemctl list-unit-files --type=service

Habilitando um serviço no boot

systemctl enable sshd

Desabilitando um serviço no boot

systemctl disable sshd

Incializando um serviço

systemctl start sshd

Parando um serviço

systemctl stop sshd

Verificar status de um serviço

systemctl status sshd
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s