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.

Filter by
Sorted by
Tagged with
0 votes
2 answers
80 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
41 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
115 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
2 votes
1 answer
771 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
  • 299
0 votes
0 answers
144 views

How to install user Agent (launchchd) in Mac and Run for all users on login

On MacOs I want to create a application that runs in the background (hidden)and on user login , so I have created a user agent and .plist configuration added in /Library/LaunchAgents It is running ok ...
TUSHAR MAHAJAN's user avatar
3 votes
0 answers
829 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
395 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
97 views

Mac OS update file where is it stored?

Downloaded the update file from mac OS 12.5.1 to 12.6 Using the command software updated -a The file is 100% downloaded, where can I find the update file manually? I didn't find anything here install....
Georgy's user avatar
  • 33
0 votes
0 answers
630 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
  • 629
0 votes
0 answers
103 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
1 answer
1k 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,059
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 ...
Yass O.'s user avatar
  • 13
0 votes
1 answer
254 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
378 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
493 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
147 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
44 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
83 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
47 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
  • 853
1 vote
1 answer
1k 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
3 votes
1 answer
2k 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,122
5 votes
2 answers
358 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,348
0 votes
0 answers
213 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
265 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
386 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
0 votes
1 answer
2k views

How to prevent process / daemon from running on macOS?

I installed an app called "ShadowsocksX-NG" and then whenever I restart my computer, /Users/admin/Library/Application Support/ShadowsocksX-NG/ss-local -c ss-local-config.json will be running in the ...
aeroxy's user avatar
  • 3,237
1 vote
1 answer
321 views

Launchd plist runs everyday instead of only weekends

Scenario: I need to force a reboot as a Launch Daemon at a specific time only on Saturdays and Sundays. Output The reboot command gets launched at the specific time everyday instead only on ...
DankDalf's user avatar
1 vote
0 answers
62 views

Mouse moves, but cannot click

My mouse just got stuck: I could still move the pointer, but clicks would not register. This occurred with both my external Magic Trackpad, and the laptop's internal trackpad, apropos of nothing. As ...
Xophmeister's user avatar
0 votes
1 answer
313 views

Script to run Adobe Update Remote Manager as Launch Daemon at Boot without MDM

Scenario: I need to figure out how to run the /usr/local/bin/RemoteUpdateManager at DeepFreeze maintenance cycle. During this maintenance cycle, the computers will restart to the login screen and ...
DankDalf's user avatar
4 votes
2 answers
8k views

macOS Catalina: execute bash script on boot with launchctl

Before updating to Catalina (10.15.1) my agent based on a bash script was working perfectly. I had set the agent in order to execute the bash script on boot. Here is the plist file: <?xml ...
suikoy's user avatar
  • 143
5 votes
0 answers
233 views

How to prevent non-root load of a LaunchDaemon

I want to prevent a LaunchDaemon (/Library/LaunchDaemons/com.mycorp.service.plist) from being loaded by a non-root user. Running sudo launchctl load /Library/LaunchDaemons/com.mycorp.service.plist ...
craig65535's user avatar
102 votes
6 answers
238k 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 ...
Alex's user avatar
  • 1,798
3 votes
0 answers
936 views

Append instead of overwrite log file by StandardOutPath and StandardErrorPath

I have a launchd job that periodically runs in the background. Any stdout and stderr output during the job is logged to some files set in the job's plist using the StandardOutPath and ...
Erik's user avatar
  • 263
2 votes
1 answer
195 views

Are the results of Apple Photos processing shared between my computers?

I have a MacBook and and Mac mini with same Apple ID. My photo library size is 55,109 photos, 3,670 videos, 68 items. photoanalysisd has been running for 7 days on my MacBook. It doesn't appear to ...
userG's user avatar
  • 23
4 votes
2 answers
1k views

Where should a daemon started by launchd store its data?

When I develop UI application for OSX I store user's preferences and application config to ~/Library/Preferences/AppName.plist (using NSUserDefaults). But when I create global background daemon that ...
GRaAL's user avatar
  • 141
1 vote
2 answers
925 views

IBM Trusteer Rapport... Daemons... Is rapportd part of Trusteer or an Apple MacOS Daemon?

Working here on problems arising from IBM Trusteer Rapport security software. Problem: Their daemon rooksd has 60,000 ports open; mac slowed to a crawl. Question: Is the daemon rapportd part of ...
ColSebastianMoran's user avatar
4 votes
2 answers
632 views

What are the various auto launch paths mean in OSX?

I'm trying to track down sneaky apps that launch upon reboot. They are not in System Preferences > Users and Groups > Login items and the in-app preferences for auto starting is disabled too for ...
TruMan1's user avatar
  • 153
6 votes
1 answer
6k views

What are all these tvOS services?

I noticed Apple's tvOS broadcasting no less than 7 mDNS PTR-RRs (via Bonjour, I presume): + Apple TV._airplay._tcp.local + Apple TV._mediaremotetv._tcp.local + Apple TV._companion-link._tcp.local + ...
voices's user avatar
  • 2,119
3 votes
1 answer
3k views

High Sierra performance problems - efilogin-helper taking a lot of CPU

I have a stock 2015 15" MacBook Pro, i7 / 16GB / 512GB, still runs on High Sierra because I am contemplating to do a full clean install instead of an upgrade. Performance has been deteriorating to a ...
Lucas van Dongen's user avatar
16 votes
3 answers
5k views

How to access a launch daemon's values/ system defaults value

So I am trying to silence the "Your Disk is Almost Full" notification from a mac running Mojave, as right now it pops up way too frequently and it is so annoying. I followed all answers from this ...
JoeVictor's user avatar
  • 293
1 vote
1 answer
1k views

What is the best practice for a daemon application running as root that needs access to the GUI? [closed]

I'm porting over a C++/Qt application from Windows. On Windows, the program runs as a service. It's discouraged from programs running as a service to also interact with the user and display GUI ...
Mikey A. Leonetti's user avatar
2 votes
1 answer
2k views

Shove installed a launch daemon or agent popup window, what is it?

Please check the following screenshot: Today, I suddenly have this popup window warning. I have no idea what it is. Basically I have three questions. (1) Is this BlockBlock app warning? I have no ...
sgon00's user avatar
  • 2,014
7 votes
2 answers
1k views

Why can an app create daemons on the fly without sudo permission and how to stop it?

First, I come from Linux so there are many things which confuse me such as daemons. I installed VOX.app and it has some kind of agents and cloud-related processes which can be started automatically. ...
sgon00's user avatar
  • 2,014
3 votes
1 answer
8k views

Fine-tuning "Open safe files after downloading"

Is it possible to fine-tune the "Open safe files after downloading" setting in Safari? For example, to make Safari open files like ".ical" et. al., but not Zip-files. If macOS has no built-in support ...
forthrin's user avatar
  • 2,591
2 votes
1 answer
263 views

Cannot load rsync daemon in Sierra. Log shows: "assertion failed: 16G1408: libxpc.dylib"

I'm trying to start rsync --daemon on Sierra (10.12.6), using launchctl. It used to work fine (last time in Mavericks, I think). But now on Sierra, the daemon does not start and grep rsync /var/log/...
mivk's user avatar
  • 965
2 votes
2 answers
1k views

Difference between System and Global Daemons

According to the Launchd Tutorial, there are two places where a daemon can be. A global daemon located at /Library/LaunchDaemons A system daemon located at /System/Library/LaunchDaemons What is the ...
Andrew's user avatar
  • 45
3 votes
1 answer
3k views

Getting error in Terminal when typing Passwd *Username*

I’ve been trying to change the root password via Terminal on macOS. I launched Terminal by holding cmd + S while booting, which logged me automatically in as root without password. When I type in ...
Lukas Sokcevic's user avatar
4 votes
0 answers
3k views

What is the touristd process doing when it downloads ~14MB on each boot?

I've noticed on my MacBook Air (early 2015 edition, macOS 10.13.3) that there is a certain 'touristd' process that launches when I turn on the computer, downloads about 14.2MB of data, then exits. ...
numbermaniac's user avatar
2 votes
2 answers
11k views

Make sysctl changes at startup

I'd like to change the default smb settings at startup to remove timeouts. I have the following script; #!/bin/sh sysctl net.smb.fs.kern_deadtimer=0 sysctl net.smb.fs.kern_hard_deadtimer=0 sysctl ...
Jack Westmore's user avatar
2 votes
1 answer
168 views

What is the name of the Subversion server process on MacOS?

I'm running a Subversion server on MacOS. My remote IDEs connect no problem (using ssh tunneling). But, I can't figure-out the process name of the Subversion server. It is so easy: $ mkdir svnroot $ ...
Khae's user avatar
  • 185