A system for starting, stopping, and managing automated processes.

learn more… | top users | synonyms (2)

2
votes
1answer
22 views

speed up launchctl execution

I've set up a bunch of scripts that need to happen when I connect my thunderbolt dock at home (disable wifi, enable bluetooth, ...). To detect the thunderbolt dock I make use of the following ...
0
votes
0answers
11 views

Where does Applescript Event Log go when run under Launchd?

Or, how to log from an AppleScript (saved as application) and/or view the Event Log? None of the AppleScript's log statements can be found. I have tried adding the following to the launchd plist: ...
2
votes
1answer
22 views

What is the location of this Application's file?

This application shows in Finder at path (with target): Macintosh HD/Applications/Trans_Helper.app/Contents/MacOS/applet and I have not been able to successfully start it with launchd, using ...
0
votes
0answers
8 views

launchctl StandardInPath not being passed to file?

I've got a plist file that I've set up to pass a certain file as the standard input to a command it runs: <key>StandardInPath</key> <string>/Users/michael/somefile</string> ...
1
vote
1answer
20 views

What is the RDUSB00E6Setupd process running by launchd

What is the RDUSB00E6Setupd process running by launchd in a Macbook Pro with Mavericks? I can't find any information about this and my computer is running quite slow, trying to figure out what is ...
0
votes
1answer
38 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 ...
0
votes
0answers
19 views

Which user's privileges do I use to run MariaDB?

I installed mariadb from Homebrew. It'll be used for CMS access through PHP. I want the DB to start when the system starts up so I added the homebrew/ mariadb-supplied launchctl plist to ...
0
votes
0answers
49 views

Launchd Multicast Socket Listener

I'm not sure if I've just missed some documentation or not, but I'm having a hard time figuring out how to set up a launchd agent that can be triggered whenever a datagram is received within a ...
1
vote
1answer
32 views

Show running launchctl

When I run sudo launchctl bslist ... it shows all the running /System daemons, but I have some running from /Library/LaunchDaemons and it is not showing those. How can I show them?
0
votes
1answer
101 views

How do I stop GitHub Conduit?

How do I stop GitHub Conduit and keep GitHub.app from reinstalling the job in launchd?
1
vote
2answers
151 views

Huge number of anonymous.xpcd?

When I list out launchctl, I'm seeing nearly a hundred instances of iterations of: Command: sudo launchctl list | grep --invert-match com.apple yields: 1 - 0x7fb4b0f38e50.anonymous.launchd 711 - ...
0
votes
1answer
35 views

How to add a timestamp in log files on launchd?

In launchd, you can change the path of the log files in .pist file using StandardOutPath and StandardErrorPath, but when I used it to output the log returned by the process, the resultant log files ...
1
vote
1answer
148 views

Why isn't my launchctl.plst firing on startup?

I created this plist to get Mongo running on startup but it won't fire. I have to run this every time I start up: launchctl load /Library/LaunchDaemons/org.mongo.mongod.plist Then it works fine. ...
1
vote
1answer
49 views

Why the launchd has multiple instances per user (not only me and root, but also _spotlight and _windowserver)?

I found that the launchd process has multiple instances in the process list. What is looking interesting is that there are four users under which these launchd processes are running: root < ...
2
votes
2answers
98 views

How to reset OS X volume after sleep using launchd?

I'm been trying to write a plist file on which when I return from sleep mode, I always want to make my Mac volume to the minimum amount. However, it looks like the following plist doesn't work, with ...
1
vote
1answer
133 views

How to run multiple commands on reboot using launchctl/plist?

In OS X, you can write a plist file in ~/Library/LaunchAgents/ (or something similar, depending on what permissions/users you like it to be operated on), and load it using launchctl to make it ...
1
vote
1answer
56 views

How to uninstall software that is running when the mac logs in

I get this every time I log in Which is an application that I downloaded a while back. But I can't locate it in my applications folder and I also cant see it in this: How should I go about ...
2
votes
1answer
116 views

Why is my launchd job running at boot even with RunAtLoad key set to false?

I have a launchd plist file that I use to run a program at a selected time every day. It works, but it also runs the program whenever I boot the computer or unload and reload the job using the GUI ...
1
vote
1answer
32 views

How do I determine where a process is being started from, and disable it?

When I start OS X (Mavericks) and run ps aux | grep postgres from Terminal, I have a process that was automatically started: postgres 132 0.0 0.1 2526456 7936 ?? Ss 10:04PM ...
0
votes
0answers
28 views

com.user.loginscript[ ]): Exited with code: 1

Whenever we restart our server it changes our DNS and apache settings. I haven't been able to figure out why, so I wrote a quick script to restore these to safe settings on login to fix Mac OS X ...
0
votes
1answer
130 views

Making items added to paths via paths.d show up everywhere under Mavericks

I'd like to set the path under OS X Mavericks so that the setting shows up everywhere (e.g., in .apps and in Darwin shells). There's plenty of discussion out there about how to set environment ...
1
vote
2answers
418 views

How to automount SSHFS volumes with FUSE OS X on Mavericks

Iv'e managed to get my ssh volumes mounted with SSHFS via the command line but would really like is to have them auto mount on login. So far, I've set up a launchAgent to run a shell script that ...
2
votes
1answer
37 views

Running script through launchd with no annoying prompts

I have an applescript that checks my macbook battery and forces hibernation when it reaches a certain level, after displaying a 60 sec countdown. I've successfully set it up to run in the background ...
3
votes
1answer
183 views

Uninstalling Genieo broke my system

Update below, the rest is more or less background information. After discovering a Genieo install, I vaguely recalled it being, well, not trustworthy. After a quick search I knew I wanted to ...
0
votes
0answers
88 views

Untrusted apps are not allowed to connect to or launch Window Server before login

<?xml version="1.0" encoding="UTF-8"?> <plist version="1.0"> <dict> <key>Label</key> <string>com.ash.login</string> ...
0
votes
2answers
243 views

Why Does a Shell Script Trapping SIGTERM Work When Run Manually, But Not When Run via launchd?

Okay, quite simply I have a shell script that needs to wait for something to happen, but it has a lock-file and some child-processes that I need to ensure are tidied up if the script is interrupted. ...
3
votes
2answers
157 views

Add Static ARP Entry at Boot

I'm new to Mac OS X. On Linux I'd: append to /etc/rc.local arp -i eth0 -s 192.168.1.1 00:00:00:00:00:00 I've figured out how to do it in Terminal: sudo arp -s 192.168.1.1 00:00:00:00:00:00 But ...
1
vote
0answers
38 views

Adding comments to /etc/launchd.conf

Since I migrate to Maverick, I cannot add comments anymore to entries in /etc/launchd.conf, like: # setenv VAR VALUE Is there a new format for adding comments there ? When I restart launchctl ...
2
votes
0answers
47 views

How to switch from Spotlight to Alfred via Terminal?

I installed Alfred through homebrew-cask. I want to disable Spotlight and let Alfred be opened with Cmd+S. The first Terminal-based solution I tried was unloading Spotlight with sudo launchctl unload ...
1
vote
0answers
63 views

How daylight saving changes are handled in launchd to make sure it execute the the jobs as scheduled through plist?

Since August 2013, I am using Mac Mini with OS X version 10.8.2 as my web server (MAMP stack). I have a few launchd scheduled jobs scheduled through plist. Everything was working fine until Nov 3, ...
1
vote
1answer
40 views

How to load a LaunchAgent always as root?

I'm using a LaunchAgent to always open a cocoa application (i.e. Xcode) at login. the custom application requires root permission but when it's loaded by launchctl is loaded without permissions. How ...
2
votes
2answers
109 views

Is there a way to make launchd stop a service on sleep and start it up again on wake?

I have several pieces of server software installed on my MacBook Pro for work using Homebrew. There is one service in particular, that likes to peg the CPU after the OS wakes up from sleep until I ...
1
vote
1answer
170 views

Unable to start after having applied all known recovery steps

Traditional recovery steps After a forced startup due to a wifi connection issue, the startup stayed stuck with a grey screen, Apple logo and turning spinning indicator. Then I tried all the ...
3
votes
4answers
1k views

no such process error with launchctl start. Mac OSX 10.9

The goal is to set machine's network name with the ipaddress of this machine. I have created a plist file and put it into /Library/Launchagents/. For debugging reason I used the command "launctl ...
2
votes
1answer
312 views

Can't connect to rpcbind on localhost

Since upgrading to OS X 10.9 Mavericks, I can't connect to the rpcbind daemon anymore. launchctl tells me that rpcbind is loaded but not running: $ sudo launchctl list | grep rpcbind - 0 ...
0
votes
2answers
89 views

Need help creating Global Daemon for EyeFi Server

I have been trying to come up with a headless solution for transferring images from an eyefi card to my mac. The software from the vendor is decent, but it will only transfer images if there is a ...
0
votes
0answers
55 views

My Launch Agent not lauching at system load

i'm trying to make a simple Launch Agent that run a test app at system load. I followed the official documentation, but can not get it to work. my plist file is located at ...
0
votes
1answer
319 views

Mavericks makes files synced to SMB share hidden

I have a script running by a LaunchAgent to sync a directory with a remote share. This script is fairly simple, I'll include it here just so nobody suspects the script. #!/bin/bash # Hjälpskript ...
2
votes
1answer
277 views

how to block Adobe, Google and others from installing crap on my Mavericks

Adobe and Google insist on install crap on several folders, like update checkers and things like that. This is the crap I have identified by Adobe. ...
1
vote
2answers
222 views

How do I get my LaunchAgent to run as root?

I’m using Mac 10.9.1. I’m trying to set up a process to run after login that runs as root. I created this file in /System/Library/LaunchAgents/eXist.plist with rx—r—r— permissions. The contents of ...
0
votes
2answers
79 views

Making file associations launch a certain extension, but with a console program?

It is possible using the right click menu on "Open With" to get the option to choose an application to open a certain file extension. You can then say "Always Open With This". That works if the ...
3
votes
1answer
120 views

What is the relationship between `launchctl limit` and `ulimit`?

There is not any ulimit configuration in system startup files/ shell startup scripts. ulimit -a shows: -u: processes 1064 -n: file descriptors 256 launchctl ...
1
vote
2answers
729 views

Grey Volume bar - coreaudiod - Job failed to exec(3) for weird reason: 2

I've just installed the Mavericks 10.9.1 update and my audio is not working. The volume bar is obscurely grey, and the mac is becoming slightly slow. I checked the console to see anything related to ...
1
vote
1answer
73 views

Start a process at boot

I need dnsmasq to run at boot on Mavericks. I've got dnsmasq working fine. I've created a .plist file in /Library/LaunchDaemons with the following contents: <?xml version="1.0" ...
0
votes
0answers
27 views

Launch upon login fails (glims agent)

Somehow, the Glims Agent doesn't launch anymore when I login with my regular user. I got the root process running, but not the one for my user. When I manually run the following line in terminal, ...
1
vote
2answers
2k views

Can't delete .plist files from Trash

I have a program which, when deleting any app, also deletes the extra files and junk as well; including .plist files. Normally this works great though, this time around I've had a few files which ...
0
votes
0answers
53 views

how can I receive external display connection notification in launchd?

How does one receive notification from notifyd (or equiv) when the display configuration changes? My goal is to fire off some daemons when connected to my thunderbolt display "dock". Any example ...
0
votes
1answer
608 views

Dynamically setting HOME environment variable in a launchd script?

Continue from this topic, I ended up with: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" ...
3
votes
2answers
2k views

How to find out what launch agent or daemon is starting a process

After installing Autodesk Smoke, I have two httpd processes running all the time, and I'd like to stop them. When I use sudo killall httpd, they stop and are restarted right away. Activity Monitor ...
2
votes
1answer
567 views

Why is my 'launchd' task not responding to changes in watched files?

I have a launchd task that is not triggering when a file changes, and can't figure out why it's failing. When I load the .plist below with launchctl load ...