Mac OS X Server

Mac OS X Server: serveradmin

When managing a Mac OS X Servers services one of the most important commands to get comfortable with is the serveradmin command.  This command can be used to control most of the default services used for providing features to client systems and communicates directly with the servermgrd process.

 

serveradmin list

 

To see the settings for a given service that you are running use the settings verb as can be seen below:

serveradmin settings <service>

To alter the settings of a service you use the settings verb and the service but 

serveradmin settings <service>

To start a service once it has the settings you so desire:

serveradmin start <service>

To stop a started service:

serveradmin stop <service>