1

My Mac has suddenly stopped starting the CUPS service on startup. I can start CUPS by running

sudo /usr/sbin/cupsd

but when I restart my computer it requires me to run this command again.

Is there some simple reason that could be behind this? It never needed to be started manually before

Otherwise, how do I run this command automatically on start up?

Cameron
  • 232
  • 1
  • 4
  • 13

1 Answers1

1

There are several ways to launch a program / service on boot. The recommended way is via launchd.

I am not certain what is your current status, but generally speaking, you have to find (it may already be present in your system, as you had it loading on boot before), or create a Property List, say, as /System/Library/LaunchDaemons/org.cups.cupsd.plist. Then,

sudo launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist

To create it, you can use a GUI (e.g., lingon, or LaunchControl), or the built-in Property List Editor.

I am providing here a few useful links.

Links relating to disabling CUPS, which may be instructive: