19

I'm a web developer by day and a lot of the software I install on my computer (namely databases and web servers) come with an optional LaunchAgent to automate starting/stopping processes on boot. I'm wondering if there's a GUI for these types of services so I can use the LaunchAgent, then kill the services gracefully. Another great feature would be if I could turn off boot on launch and just use the LaunchAgent to start/stop a service as needed.

  • Try booting in single user mode some time and firing up jobs by hand using launchctl. It's so much nicer than the old days and you can really learn how things work. – bmike Aug 2 '11 at 16:14
21

This seems to be exactly what you are looking for: LaunchControl

  • 1
    Nice one. This seems to map directly to how launchd works. Compare the dropdown in the upper left of the GUI to the list of file locations in the docs. – Derek Morrison Jun 27 '13 at 16:52
8

Lingon (MAS link)

It provides a nice GUI for creating daemons/agents, without writing plist file by yourself. You can also use it to delete daemons/agents that you don't want.

  • 1
    But I don't think it stops and starts processes - see its suggestion to logout/reboot after making a change – Mark Aug 2 '11 at 9:10
  • It won't load and unload the jobs - but you can easily do that from terminal by dragging the name of the agent from Lingon to the terminal. The start launchctl command is also nice for testing. – bmike Aug 2 '11 at 16:13
  • The Mac App Store version looks out of date now - Lingon X seems to be the current version now - peterborgapps.com/lingon – Matt Sheppard Feb 6 '18 at 16:53
1

I found this article: https://foliovision.com/2014/01/os-x-scheduling-tools

Lingon looked very slick.

  • Lingon is awesome. Been a great program for many years now. – bmike Dec 11 '14 at 17:45
-1

launchAgents are there to run in the background in conjunction with their respective Daemon, i.e. they have no GUI but you can load & unload them using terminal using:

launchctl unload -S Aqua /Library/launchAgents/"launchAgent's name"

"lanuchAgent's name" : enter the file name of the Agent you want to load/unload. /Library/launchAgents in OS X that is the default folder for Agents to load just replace unload with load

  • If in /Library they will probably need to run with sudo – Mark Aug 2 '11 at 8:20
  • if you are logged in as a privileged user you don't need to, you need to use sudo if you want to un/load the daemon – Samantha Catania Aug 2 '11 at 8:30
  • The OP seems to be looking specifically for GUI to control loading and unloading - not how launchd works in the command line. Good information, but not relevant to this topic. – bmike Aug 2 '11 at 18:25
  • You wont need root for LaunchAgents. They run as unprivileged user! – Eun May 22 '14 at 11:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .