LaunchControl — An Interview with Robby Pählig

Robby Pählig talks about the questions that led him to build LaunchControl and what it takes to explain why a Mac service will not run.

LaunchControl gives launchd a complete graphical interface for creating, managing, and debugging services. I use it to manage separate Homebrew WireGuard services for multiple connections without handling everything through the command line.

For My Mac Apps Story, I asked Robby Pählig what inspired LaunchControl, how undocumented launchd behavior affects its development, and what has kept the app alive for more than a decade.

Interview by Ighor July for Reverse Everything.

Interview

Ighor July

What originally inspired you to create LaunchControl?

Robby Pählig

In 2012 I grew tired of looking up configuration keys in the launchd man page that ships with macOS and searching the internet for clues just to get a relatively simple launchd job working. There was a GUI around—venerable Lingon—but it supported only a small subset of the 36+ configuration keys understood by launchd at that time and offered no clues why a job would not load or run. I wanted a program which "knows" all the ins and outs of launchd, is helpful, guides me through job creation, lets me use all of launchd’s capabilities, and allows me to manage my jobs without having to resort to the command line, a complete launchd/launchctl GUI.

Ighor July

What have been the greatest technical challenges involved in maintaining it over the years, particularly as macOS and launchd have evolved?

Robby Pählig

The challenge is (and remains) obtaining a comprehensive understanding of launchd. Initially, launchd was an open source project. That was ideal—I could precisely trace what was happening internally. Unfortunately, about ten years ago Apple decided to no longer publish the source code. This represents significant additional effort for developing a tool that aims to provide extensive troubleshooting support in this area.

In order to provide useful hints, LaunchControl has to know how launchd behaves given certain keys or key combinations on the supported versions of macOS. For the most part these details are not documented. Take the Label key: The documentation says that this key accepts a string as a value. This is only partly true on macOS 10.5.3 to 10.8.1. These versions won't load jobs with a Label starting with a digit. All you get is a cryptic error code. Exceptions are macOS 10.6.3+ and 10.7.5, which accept digits without complaints. Or take the StartCalendarInterval key: When a user wants a job to start every minute of a specific hour, throughout the year, according to documentation, the only StartCalendarInterval subkey the user has to configure is Hour. But a job configured thus won't ever start. Even though reported in 2013 (FB5735621), the issue has not been addressed yet. Issues like these can make using launchd a frustrating experience, and with LaunchControl I try to remove as much friction as possible.

Ighor July

What motivates you to continue developing and supporting LaunchControl after so many years?

Robby Pählig

There will always be room for improvement. There are features I miss which I want to add. And even though to this date I have coded more than a hundred validations into it, there are details it still misses. Also, launchd is here to stay; it keeps evolving, and LaunchControl has to learn its new quirks and features. I want it to remain the best option available.

Ighor July

How has user feedback influenced its development? Were there any important features, changes, or decisions that came directly from users?

Robby Pählig

Over the years, many users contacted me when they had issues with jobs they had created. Together we would resolve the issue, and many of the validations LaunchControl performs now are a direct result of these troubleshooting sessions. Users still provide much valuable input, suggest new features, or report cases where LaunchControl has been less helpful than it ideally should be. Much of this feedback results in new features or improved user experience. Ten years after its initial release, LaunchControl received a major upgrade. This release was almost entirely based on input from a single user; without that feedback LaunchControl 2’s UI would not be as flexible (multiple windows, tabs, views, and editors which can be freely arranged in a window) and extensible (LaunchControl 2 now has LLM support in the form of a new chat view, a feature requested by another user) as it is today. It is safe to say that LaunchControl became what it is today largely due to the user input I have received.

Ighor July

How has LaunchControl's purchase model remained sustainable over the years, and how do you approach major paid upgrades?

Robby Pählig

My customers know about and value my long-term commitment and know I won't leave them behind. They rightfully trust that I will continue to develop LaunchControl and that they will get years of usage out of their purchase. Some return to have a look at my other offerings.

I have benefited tremendously from users who shared their experience with my software with others, be it in public forums, on software review sites, or in private conversations. I am very grateful for them.

So new users are discovering my software every day, and some become customers. By now, this generates a continuous income stream.

As for major updates: When I work on a project that long, I learn its limitations and deficiencies. My understanding of the problem space grows, and over time, I collect enough new material to justify a new major release. When I released LaunchControl 2, I found that the trust earned over the past ten years translated into an astounding willingness of existing users to pay for the upgrade.

Ighor July

What advice would you give to independent developers who hope to maintain and support their apps for ten years or longer?

Robby Pählig

I think that happy users are the key. And happy users are created by providing them with software they want to use, which reliably helps them to accomplish their goals without getting in their way.

So pay attention to detail. Make users feel that they are using real software, honed over years to be the best it can be in its domain, not a one-off app. Provide the best customer support you can. Write a good user manual. Listen to your users. I am often surprised by the creative ideas users come up with, things I would never have thought of, simply because different users have different needs. You'll have meaningful improvements to offer gratis, which every one of your customers will appreciate.

And release updates on a regular basis. Even if you have no new features, every non-trivial program contains bugs, and you should fix them whenever you find them. Your gain is threefold: You'll benefit from happy users who can focus on their task instead of filing bug reports, and everybody looking at your change logs is reassured that the software is actively maintained. You will see a bit of exposure on software review sites like MacUpdate.com.


Read how I use LaunchControl in My Mac Apps Story, Part 6.

More Mac Developer Interviews

Comments