'journald' for MacOS LaunchAgents

While the entire systemd project has historically been rather polarizing, I have found it to be easier to maintain for my own environments. When working on services on windows or MacOS , I have come to miss having journald when running services. MacOS launchd services let you StandardOutPath and StandardErrorPath, each application can set them to whatever path they want. While applications can directly use MacOS unified logging, I wanted to prototype an idea of launchd handling directing files. Since I can not (easily) modify launchd, I decided to write a redirect-output helper, to prototype how this might look.

PaulTraylor.net

I don't like #systemd, but I like a giant trashpile of shell scripts trying to implement all the same features even less.

(See also, #launchd.)

【Claude Code】/insights のレポートが上書きされないように逃がしておきたい - Qiita

はじめに Claude Code には /insights というコマンドがあり、過去のセッションを分析した使用状況レポートが HTML で生成されます。 こちらの記事でも書いたのですが、試してみるとなかなか面白く、自分の Claude Code との付き合い方の傾...

Qiita

@ellenor2000

http://jdebp.info/FGA/launchd-on-bsd.html

It went dormant some time in 2015, to my knowledge. I had genuinely been joking about an #XML parser in process 1 until someone went and did that.

With a shell, of course, it's the same sort of thing, with a full language parser, an interactive user interface, curses, terminfo/termcap, an editing library, command completion add-ins, and so forth, in the program for process 1.

Almost all proper process 1 programs do far less.

#launchd #FreeBSD

FGA: The launchd on FreeBSD/NetBSD/OpenBSD train is never coming.

🐌 Wow, someone found a way to make their #localhost #setup even more convoluted! Now, instead of just typing "localhost:4333", you can go through the joyous process of configuring #launchd daemons, editing /etc/hosts, and wrangling #Caddy for that sweet appname.localhost experience. 🧙‍♂️ Truly the pinnacle of #productivity for when you have too much time and not enough friends. 🤦‍♂️
https://inclouds.space/localhost-domains #devlife #HackerNews #ngated
.localhost domains

@Uilebheist @cstross

Learn from the voice of experience when saying such things. (-:

I used to joke about someone putting an XML parser into the code for process #1, as an example of something outlandish that no-one would do.

Then one of the people who tried to port launchd to FreeBSD did exactly that.

http://jdebp.info/FGA/launchd-on-bsd.html

#launchd

FGA: The launchd on FreeBSD/NetBSD/OpenBSD train is never coming.

@quixoticgeek @js @cstross

Upstart both rose and fell in the time that it has taken even to get launchd ports to the BSDs attempted, let alone to Linux-based operating systems.

launchd leans heavily on MacOSisms.

http://jdebp.info/FGA/launchd-on-bsd.html

#launchd

FGA: The launchd on FreeBSD/NetBSD/OpenBSD train is never coming.

I spent some time tweaking the backup agent for the #bearapp via #launchd. It still does not work as I wanted. I am missing some starting triggers, and the documentation does not contain much detail. It’s hard to tweak certain things on #macOS these days.

Hmm, so #macOS #Seqoia completely breaks local network access for processes run via #launchd user agents BeCaUsE Of sEcUrItY!1.

This means no automated daily backups for me any more. Slow clap, Apple, slow clap.

https://developer.apple.com/documentation/technotes/tn3179-understanding-local-network-privacy#macOS-considerations

(In other words … uhh … halp?!)

TN3179: Understanding local network privacy | Apple Developer Documentation

Learn how local network privacy affects your software.

Apple Developer Documentation