Skip to main content

Questions tagged [daemons]

macOS, which is a Unix system, uses daemons. A daemon is a computer program that runs as a background process, rather than being under the direct control of an interactive user.

1 vote
1 answer
163 views

Disabling services (daemons, agents) with launchctl

I want to get rid of some system services completely. I turned off sip with csrutil disable. Then following command sudo launchctl disable com.apple.cloudphotod Gave me an unexpected answer: ...
Andrew Orlow's user avatar
1 vote
0 answers
17 views

S3 lauchctl error input/output. Boot doesn't mount S3 bucket

My script to mount an S3 bucket works fine, but mount at boot is not working. I tried launch daemons on macOS Sonoma, compiling with this plist. Here is the code: <?xml version="1.0" ...
Oscardot's user avatar
0 votes
1 answer
156 views

How can I automate via command line a process to prepare video files when my Mac starts?

This is an improvement to previously discussed: Constantly check folder for specific file type and run terminal command with new filename as an argument I used to love Automator for such tasks, but ...
Pavel Pervoy's user avatar
1 vote
1 answer
81 views

Is there a way to prevent apps like Google's from adding services/daemons to mac? [duplicate]

Companies like Google and others love to install daemons/services on ~/Library/LaunchDaemons Sonoma alerts me when this happens, but I want to be able to prevent bloat services like this even ...
Duck's user avatar
  • 2,494
0 votes
1 answer
166 views

High opendirectoryd CPU usage caused by Qustodio- Any Fix?

I have an 14" M1 Max that gets very poor battery life, which I suspect is mainly due to the installed internet filter, Qustodio, causing high CPU usage from opendirectoryd. As per activity ...
Rafael's user avatar
  • 121
0 votes
1 answer
85 views

How to run a script on login that can capture camera output

I have the following shell script: #!/bin/bash time=$(time); imagesnap -q "/var/captures/$time.jpg"; When I run it in the terminal, everything works. But when I run it using launchtl or ...
Ben Raz's user avatar
0 votes
0 answers
382 views

Possible method to mount a Linux SMB share on macOS Ventura before user login

I am trying to mount a Linux SMB share onto a macOS machine running Ventura 13.4. I must have the share mounted after the macOS machine bootup is completed, but before any possible user has logged ...
Sam Marrocco's user avatar
0 votes
2 answers
598 views

Leave SSH daemon running permanently

I, for some reason, cannot seem to find a google search which actually answers this question. I have a mac, and I would like to have the ssh daemon running in the background at all times, so I can ssh ...
ExecutionByFork's user avatar
0 votes
0 answers
152 views

macOS - run bash script when specific URL is clicked

Is it possible to write an AppleScript or macOS service/daemon to detect when a URL is clicked (which would launch the browser) and run a bash script as well/instead? Use case: detect when github.com ...
Tom Oakley's user avatar
2 votes
1 answer
1k views

Equivalent to systemd timers on OS X?

On Linux, many distros ship with systemd. Systemd supports "timers", which are a kind of systemd service for running programs on a schedule. There are of course many ways of scheduling tasks,...
Dommondke's user avatar
  • 132
2 votes
1 answer
2k views

What is this Login Item - Allow in the Background? [duplicate]

It is listed as Mark Allan, I imagine the software author or company.
foamroll's user avatar
  • 309
8 votes
0 answers
3k views

What is `knowledgeconstructiond` doing?

Just installed Ventura on a 2017 macbook pro 15", and for the last 10 minutes or so a daemon called knowledgeconstructiond has been using sizeable but not problematic amounts of CPU. Was curious ...
Michael Roswell's user avatar
0 votes
1 answer
1k views

MacOS - Scheduled Launch Daemon Not Running

I'm creating a launch daemon on my MacBook (with Monterrey installed) to bring back the battery percentage to the lock screen. I was able to craft the following command and run it in the terminal ...
The-Coder-Who-Knew-Too-Little's user avatar
0 votes
0 answers
1k views

What should I do to launch the telepresence daemon process in macOS Monterey?

When I use the following command to check telepresence status in macOS 12.5 with M1 pro chip, telepresence status I get the error: telepresence: error: connection error: desc = "transport: error ...
Dolphin's user avatar
  • 1,125
1 vote
0 answers
216 views

Why are my LaunchDaemons disappearing after reboot in Mac OS Catalina?

I've got a group of launchds which I've been using across a dozen OS versions in Mac. These do various things (such as shut off TimeMachine for parts of the day when the system is most heavily used, ...
Frank Smith's user avatar
2 votes
3 answers
2k views

how to prevent numerous background daemons from harming gaming FPS (or other intense foreground workload performance)?

One or another of the various macOS background daemons that comes with the operating system is always popping up and using a ton of CPU in the background. This is generally slightly bothersome, but ...
Glyph's user avatar
  • 1,622
1 vote
1 answer
1k views

What's this service on macOS 12.3?

What is this service /usr/libexec/remotepairingdeviced?? NMAP PORT STATE SERVICE 49152/tcp open unknown lost -i :49152 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ...
user avatar
0 votes
1 answer
376 views

How can I trigger a mac daemon on an event other than scheduling a time interval?

I have made a few Mac daemons in the past. They either run at launch or run at a specific time interval, for example, once every hour. I would like to know if it's possible to run a program on an ...
Alfie Stoppani's user avatar
2 votes
0 answers
579 views

errSecInternalComponent when using codesign from within a daemon

I have my own running daemon application that listens to a network port and executes some different commands based on the coming request. All is working fine except when trying to execute the ...
Mohammad Fneish's user avatar
1 vote
0 answers
810 views

How to know what `nsurlsessiond` is downloading

I have nsurlsessiond downloading at about 1.5 MB per second for a full day now, making other internet activities on my laptop less responsive. I tried killing the nsurlsessiond but it just comes back ...
Maarten Derickx's user avatar
0 votes
1 answer
207 views

How to make usb to shut down Mac Mini

I have an old Mac mini and I want to use it as my home server. I don't want to connect any display, keyboard or mouse to it. I will be using it as a wifi router and local server. But I will shut down ...
Hasanagha Aliyev's user avatar
2 votes
0 answers
60 views

'photoanalysisd' running constantly on Catalina, even though I do not use Photos.app [duplicate]

I recently upgraded from Mac OS Mojave to Catalina. The other day, I noticed that a process called photoanalysisd has been running constantly at nearly 100% CPU usage for various consecutive days. It ...
JQlo66WfDAoNbqE1's user avatar
0 votes
0 answers
158 views

Automatically relaunch VirtualBox VM when it crashes

Is there some way to automatically relaunch a VirtualBox VM if it happens to crash? My VM occasionally crashes and has to be relaunched which I can do manually when I'm at my computer, but I'd like ...
matronator's user avatar
0 votes
1 answer
75 views

AutoSync Time periodically

My Catalina weirdly have drifting time, sometimes 5 minutes, 10 minutes, 19 minutes (in 1-2 hours), today it's drifting 40 minutes (in 4 hours). Is there any brew package/daemon that automatically ...
Kokizzu's user avatar
  • 893
1 vote
1 answer
2k views

How can I make a LaunchDaemon run an app at login?

I have an internally-maintained macOS app for my macOS Catalina-based enterprise environment which: Must run as root (it accesses a privileged device API) Runs in the background without a UI (via ...
eckenrod's user avatar
  • 173
4 votes
2 answers
4k views

What is local.blackjack from Netstat?

When running netstat I noticed the suspicious name blackjack. I wonder if it's malware. PROMPT> netstat -v Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address ...
neoneye's user avatar
  • 3,172
5 votes
2 answers
408 views

Does trustd leak information about users' software usage to Apple and/or third parties?

When discussing a recent outage of Apple's OCSP server, people on various Twitter accounts (in the threads following this tweet) and "fefe's blog" claimed that the way trustd works on macOS ...
jstarek's user avatar
  • 3,586
0 votes
0 answers
236 views

Fresh Catalina install (10.15.6) generates flood of diskarbitrationd and deleted daemon messages. How to stop them?

Since doing a fresh install of Catalina (10.15.6) last week, my machine's Console has been flooded with messages from the deleted daemon and diskarbitrationd. The deleted daemon is consuming ...
Fitter Man's user avatar
2 votes
1 answer
489 views

Reinstall Cups after unloading/removing its LaunchDaemon

On one of our laptops, we had popups about printer settings update 200 times per day. It was getting really annoying and so without thinking about it enough, I've unload and remove cups service. sudo ...
Kevin Lemaire's user avatar
1 vote
1 answer
428 views

Launch Daemon for NodeJS App Won't start on reboot

I've created the below launch daemon to run a nodejs program on startup (tiddlywiki in this case): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//...
Scott Willeke's user avatar

15 30 50 per page