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
144 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
152 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
78 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
159 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
380 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
576 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
149 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
997 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,115
1 vote
0 answers
213 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

15 30 50 per page
1
2 3 4 5
7