launchctl(8) is your friend. Just keep in mind that some of the services (sshd for example) are disabled in the configuration file so you will need to use the -w ...
restart-ssh-service-on-mac
939c2ea5af
restart service command line, restart service powershell, restart service linux, restart service, restart service ubuntu, restart service on remote computer, restart service on remote computer powershell, restart service ansible, restart service windows, restart service kubernetes
Comments