Is there a systemctl command and service only on Linux, not on mac?

Hey. I am trying to see the status of my apache services on my Mac. I tried the command

sudo service httpd status

but command not found

I look on Google and discover systemctl, so I try to

sudo man systemctl

and manual recording for systemctl

I noticed that I did not see much mac os and only see Linux on sites on Google.

Are there commands systemctland serviceonly on Linux, not Mac?

If so, what is the Mac version of this command?

+4
source share
1 answer

Equivalent Linux systemctlon macOS will be launchctl. Apache also has its own HTTP-server management interface apachectl.

↳ OS X Man Pages

+10

Source: https://habr.com/ru/post/1691210/


All Articles