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

learn more… | top users | synonyms (2)

0
votes
0answers
20 views

How do I reload an OS X “bash” user-environment

I think that I want to ask How do I reload an OS X bash user-environment But damnit Jim ; I'm a software engineer not a sysadmin The Goal I want Jenkins started as a Daemon on El Capitan I want ...
3
votes
0answers
24 views

How do I use non-“legacy” launchctl commands to load and unload plists?

I have some plist files in ~/Library/LaunchAgents. I have been happily using launchctl load -w and launchctl unload -w to turn these on and off for years. However, I notice that now load and unload ...
2
votes
1answer
42 views

How to run a command at startup

I want to automatically start my MongoDB Server at startup. The command for it is mongod --dbpath="/Users/prateek/Desktop/Mongo Database" How do I configure this in Mac OSX El Capitan? Note - I ...
1
vote
2answers
62 views

Is it possible to evaluate an expression in launchd's ProgramArguments array?

Is it possible to compose my launchd.plist file so that an embedded expression is evaluated and not treated as a literal value? And, if so, how? I have a ~/Library/LaunchAgents/setenv.JAVA_HOME.plist ...
0
votes
1answer
52 views

Why won't my LaunchDaemon start?

I'm attempting to write my first LaunchDaemon: I think it's pretty simple and meets all the requirements, but it won't run. The file is at /Library/LaunchDaemons/com.noah.supertest.plist Ideally, it ...
0
votes
1answer
23 views

Max file limit conundrum

Following this article I've adjusted my open file limits: $ launchctl limit maxfiles 65536 65536 The trouble with this is that when I try to open Adobe applications I get ...
0
votes
0answers
19 views

Replaceing Folder Action Dispatcher with LaunchAgent on Yosemite

The fact that Yosemite's Folder Action Dispatcher (the thing that watches folders for changes and then performs some action) is broken (High CPU/mem) is well documented. However, what to do about it ...
0
votes
1answer
18 views

com.dashlane.DashlaneAgent still trying to be loaded

I have removed Dashlane using the documented procedure, yet launchd is still trying to load com.dashlane.DashlaneAgent. I have tried issuing sudo launchctl remove com.dashlane.DashlaneAgent with no ...
0
votes
0answers
33 views

launchctl load daemon by multiple users?

In OS X 10.10.5, an admin user A launches a daemon: sudo launchctl load /Library/LaunchDaemons/org.user.script.plist An admin user B also wants to load this daemon. But it is not found by "sudo ...
1
vote
1answer
156 views

Manage login items from terminal in 10.11 El Capitan

Previously, % launchctl submit -l label -- command args was the way to go. This does not work in 10.11.2, I'm fairly sure it was working in 10.10.x, but cannot be certain. The likely-looking ...
0
votes
0answers
16 views

ASL_DISABLE=1 in syslogd.plist

While re-enabling UDP syslog messages after the latest update on my OS X server I noticed this environment variable is being set. Does anyone have any ideas about what it means exactly, besides what ...
1
vote
1answer
32 views

Application tries to launch although it is deinstalled

In my console a message is occurring every 10 seconds. I think it's trying to launch a deinstalled application (NetDrive2): 18.12.15 23:55:40,047 com.apple.xpc.launchd[1]: ...
1
vote
0answers
10 views

Why the service does not start after logging in

The service is jenkins installed with homebrew on Yosemite. I have this: ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist and this: % launchctl list | grep jenkins - 0 ...
3
votes
0answers
40 views

Loading User LaunchAgent Successfully

I have created a Plist file to replace an Xinetd process that I used successfully in Windows (Cygwin) and Linux to stream an imapd connection from a remote server via ssh on a port on the localhost. ...
0
votes
0answers
17 views

“terminal-notifier.app is not open anymore”

From a .plist loaded to Launchd I run a bash script which displays a notification using terminal-notifier. The notification is displayed fine, but when clicked the message "terminal-notifier.app is ...
1
vote
1answer
39 views

Why might I get a “Service cannot initialize” error in my console when a plist file is run?

I have set up a plist file and loaded/started it with launchd. Whenever it is time for the script to run, I receive the following error in my console: 12/9/15 12:53:19.344 PM ...
0
votes
0answers
27 views

Unable to set $PATH with EnvironmentVariables in launchd service

I want to set $PATH for a launchd service with EnvironmentVariables key. But it does work, the $PATH is unchanged whatever I set. However, I can set other environment var successfully with ...
0
votes
0answers
27 views

launchctl does not set environment variables correctly

I am trying to use launchctl to set the environment variables for Eclipse. What I want to do is pass my PATH to eclipse. I have tried to setup launchctl to do this. Here is the the output of ...
2
votes
3answers
79 views

Configure launchd

I have a launchd plist in ~/Library/LaunchAgents designed to run a script located at ~/writout.sh every day at 10:30AM: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC ...
3
votes
2answers
75 views

What is “ss_conn_service ” running on OS X?

I'm using OS X El Capitan on iMac 21.5". As an experienced user, I follow activity monitor sometimes for security of my device. For 2-3 days,"ss_conn_service" is running on my device. I cannot ...
0
votes
0answers
21 views

How to see all services available for launching with launchctl?

I tried this on Yosemite: launchctl list but it doesn't show e.g. postfix which I have just launched with: launchctl kickstart system/org.postfix.master Is there any way of listing all the ...
0
votes
2answers
44 views

Why do many processes use the letter “d” at the end of the process name? [closed]

Just recently started getting into OS X/iOS development and noticed several files have a "d" at the end. I.e launchd, accountsd, cloudd, assistantd, etc.. Not all have it just some. Just a quirky ...
1
vote
1answer
41 views

Launch a sh program at startup attached to a terminal window

How is it possible to load (with terminal attached window) sh program at OSx startup ? I see a lot of article on launchctl but it's obviously not possible to open a terminal windows attached to the ...
1
vote
1answer
24 views

Prevent OS X from powering off, via CLI

I use maid to run a few maintenance scripts regularly, via launchd. The time I chose for those tasks to run makes it very likely that I won’t suddenly decide to turn off my computer around then, but ...
1
vote
1answer
269 views

How to start auto start mysql? Getting “Path had bad ownership/permissions”

How can I auto start mysqld I tried following http://stackoverflow.com/q/26476391/631619 but it didn't help It seems like I have a ownership/permission problem, possibly related to from having ...
1
vote
2answers
49 views

launchctl starts my plist job much later than StartCalendarInterval

I recently tried to switch to launched on my Mac Mini (10.7.5) from cron on a PC. I searched and think I have things set up right, but it seems that the scheduled script starts significantly after the ...
1
vote
2answers
176 views

How to run iPython Notebook as a service

What would be the best "standard" way to create a launchd script to run python notebook? I would like the service to start at login and an easy to start-stop-restart the server from a terminal.
2
votes
0answers
127 views

customize system launchagent arguments in el capitan

Is there any way to work around the inability to customize launchagent plists in El Capitan without completely disabling system integrity protection? Specifically, I was sad to find that my ...
0
votes
1answer
310 views

OS X El Capitan & Android Studio 1.4

Has anyone else noticed the following with Android Studio 1.4 running on OS X El Capitan? I can't remember the exact point when I lost the ability to build an Android app from the IDE due to the fact ...
0
votes
0answers
23 views

Check to see if program is running. If not, wait half hour and then start it again with parameters

I am asking specifically about selfControl. I am trying to ween myself off of a couple of websites, but would like to access them intermittently, but throw myself off again (I am weak man.) I know ...
1
vote
0answers
344 views

Error executing AppleScript through Launchd - “Service could not initialize”

I've written an AppleScript that turns our CenturyLink modem's wireless radio on or off. It works when I run it manually with osascript, but now I'm trying to get it set up on a schedule with Launchd. ...
0
votes
0answers
8 views

How can I have a LaunchDaemon script use the current logged in users Kerberos ticket

I have a LaunchDaemon that runs as root for security purposes but the script needs to authenticate w/ a URL as the currently logged in user. LaunchDaemons run in their own context so doing a kinit ...
1
vote
1answer
136 views

launchctl doesn't start cntlm daemon

I've installed cntlm on osx using the homebrew formula. Then I've copied the .plist file and started the daemon: sudo cp -fv /usr/local/opt/cntlm/*.plist /Library/LaunchDaemons sudo chown root ...
9
votes
2answers
2k views

/System/Library/LaunchAgents is locked in El Capitan

I'm trying to achieve this: Make my password protected SSH key expire or timeout after a while In Yosemite, this worked fantastic, in El Capitan, using sudo, the files in /System/Libary/LaunchAgents ...
0
votes
1answer
991 views

How to run script on startup and shutdown OS X El Capitan

Actually I want to make a RAM drive related to this script on my Mac. Here is what I did: Disabled SIP in recovery mode using command "csrutil" Created a plist file in /Library/LaunchDaemons/ ...
2
votes
3answers
149 views

Restoring Yosemite server after unloading launch daemons

So, while trying to fix a corrupt open directory I came across a fix that said to enter this command... sudo launchctl unload -w /System/Library/LaunchDaemons/ org.openldap.slapd.plist From the ...
0
votes
0answers
224 views

How can I stop callservicesd errors I find in Console?

I posted this to some other forum and found no luck. I'm learning Terminal, coding, and scripting. Every so often I check my Console just to see what's up. (Often I don't understand it all, but it's ...
0
votes
1answer
40 views

nrpe (icinga) client service doesn't load/run

I just wrote following .plist file, which I put into /System/Library/LaunchDaemons, unluckily loading/running doesn't seem to work, and I have no idea what's wrong: <!DOCTYPE plist PUBLIC ...
0
votes
0answers
19 views

LaunchEvent for Screen Unlock

I'm looking to run a script whenever a user unlocks the deskop -- think resuming after screensaver or after locking with ctrl+shift+eject, not user login . My instinct is that there's a LaunchEvent I ...
3
votes
1answer
3k views

How do I remove or disable AdobeIPCBroker?

A new unstable resource-draining Adobe process that has recently appeared on my Mac is proving more difficult to hunt down and kill than the numerous other processes that Adobe creates. Generally ...
0
votes
0answers
86 views

Launchd Applescript Timeout Error

On Yosemite 10.10.5, I have an Apples Script application that runs and completes as desired under 2 of 3 conditions. The application is set to launch, by launchd plist 3 times per day at 7:05am, ...
1
vote
0answers
43 views

Launchctl List - Screen Sharing Process Running While Disabled?

Below is my list of active processes as produced by the launchctl list command in terminal. I'm not messing with those processes, but I am studying them to learn more about how OS X works. The ...
1
vote
0answers
30 views

OS 10.10.5 launchctl job is not receiving input from socket

I tried following this clever guide by Sean Coates for setting up a remote pbcopy, but I'm running into trouble. I think it's because of the recent changes to launchctl after OS 10.10.5. He has me ...
1
vote
1answer
124 views

How to run AppleScript (.scpt) as LaucnDaemon by root

I have an AppleScript or set of Applescripts that I am trying to run as a LaunchDaemon. I have no problem running the LaunchDaemon with my user. The problem comes in where I have the need to read a ...
1
vote
1answer
125 views

OS X Server leaves some unwanted open ports after removal

I am currently running OS X Version 10.9.5 (Mavericks). In the past I installed OS X server and had to sign some certificates so that users could authenticate with the VPN function (which is what I ...
0
votes
2answers
91 views

Logging for SSHD when started from Launchd with `-d` option?

I'm working on OS X 10.8.5, fully patched. I have an updated OpenSSH server installed in /usr/local/sbin listening on port 1522. Connection attempts result in ssh_exchange_identification: Connection ...
1
vote
1answer
43 views

Permanently disable Apple's OpenSSH?

I have an older OS X 10.5 PowerMac (PowerPC) that needs to be online for testing software under the processor. It needs to be online because others want to use it for testing, too. I've updated ...
1
vote
1answer
227 views

launchd disk writes

Using activity monitor, I've noticed that launchd with pid 1 is using a lot of disk writes: after about 8 hours of light use, it's done ~2GB bytes written. Is it normal behavior? If not, how shall I ...
0
votes
0answers
165 views

Path not allowed in target domain, and ASL module X claims selected messages

I'm troubleshooting a fairly new MacBook Air that periodically refuses to let the user log into it (spinning beach ball at the login screen, sometimes restarted lets her log in, usually works fine if ...
0
votes
0answers
91 views

Does man launchd.plist OnDemand and KeepAlive give incorrect infos?

as I understood from the following Apple's guide Creating Launch Daemons and Agents, OS X's daemons managed by launchd are by default launched on-demand, therefore when there is an incoming request to ...