10.3: Start and stop services from the command line

Nov 27, '03 01:47:00PM

Contributed by: liquidgood

10.3 added a shell script to control services from the command line; here's how i found out -- a message on an Apple mailing list. To summarize what was said, just type:

 % sudo /sbin/service ssh start
To see the script, type less /sbin/service. Or type /sbin/service --list for a list of available services. The service script will do all the right things for you.

Comments (4)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20031119233101652