systemctl
command in the following form:
systemctl
restart
service_name.service
Example 6.7. Restarting the sshd service
/etc/ssh/sshd_config
configuration file to take effect, it is required that you restart the sshd
service. You can do so by typing the following at a shell prompt as root
:
~]# systemctl restart sshd.service