Use SystemStarter to restart system services
Thu, Oct 3 2002 at 9:15AM PDT • Contributed by: MasterUltan
Thu, Oct 3 2002 at 9:15AM PDT • Contributed by: MasterUltan
Apple provides a program called SystemStarter which is used to start and stop scripts in the /System -> Library -> StartupItems and /Library -> StartupItems folders. You can use it to restart services like so:
Type man SystemStarter and browse through the various scripts to learn more about the program and the scripts.
% sudo SystemStarter restart NetInfoOr if you've just installed GimpPrint and need to restart CUPS for it to find your printer:
% sudo SystemStarter restart PrintingServicesThe one caveat is that all the start, stop, and restart options do is pass this argument to the various scripts. If the script doesn't respond to that argument, nothing happens. An example is AppServices, which controls coreservicesd. Sending stop or restart to this script has no effect.
Type man SystemStarter and browse through the various scripts to learn more about the program and the scripts.
•
[27,732 views]
