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: ...
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 ...
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" ...
134 votes
6 answers
394k views

How do I start the docker daemon on macOS?

I am using macOS 10.14.6 and docker info shows me that the docker daemon is not running. How do I start the docker daemon from terminal? I have not found any information on doing so anywhere. On ...
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 ...
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 ...
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 ...
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 ...
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 ...
23 votes
5 answers
14k views

MirrorDisplays error every 30 seconds in system.log

I'm seeing an error every 30 seconds in the system log, using the Console app, complaining about MirrorDisplays service only running for 0 seconds. Nov 5 22:45:22 computer com.apple.xpc.launchd[1] (...
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 ...
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 ...
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 ...
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,...
5 votes
3 answers
17k views

Enable SMB sharing from command line

On OS X 10.8, using terminal commands, I'd like to enable SMB sharing as if I had ticked the following checkbox under System Preferences - Sharing - File Sharing - Options: I've tried the following ...

15 30 50 per page
1
2 3 4 5
7