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

learn more… | top users | synonyms (2)

0
votes
0answers
537 views

rsync error: connection unexpectedly closed

I'm trying to backup some folders on an ubuntu server to an external G-Drive, connected through thunderbolt to my iMac, in this manner: $ time nohup sh -c 'rsync -avz myuser@myserver:/home/user/ ...
0
votes
1answer
27 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 ...
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 ...
2
votes
1answer
48 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 ...
5
votes
0answers
60 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 ...
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
53 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 ...
3
votes
2answers
1k 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. ...
0
votes
1answer
24 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 ...
2
votes
5answers
1k 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 ...
4
votes
2answers
5k views

What is causing launchd to burn my CPU?

I'm running Yosemite, a clean install. launchd continuously runs at 100% CPU. Since the Yosemite upgrade I can't change the log level with 'sudo launchctl log level debug' Checking top or Activity ...
14
votes
1answer
2k views

Set launchd log level

How can I set the log level of launchd in MacOS Yosemite? I've tried launchctl log level debug but it doesn't work.
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
1answer
1k 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 ...
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
21 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 ...
5
votes
1answer
2k views

Launchctl difference between load and start, unload and stop

I was reading through the launchctl man page and have a few questions about its functioning: What is the difference between load and start, unload and stop? Where do I find the job label for a ...
1
vote
1answer
161 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 ...
2
votes
1answer
45 views

How can I shut down an unlisted php-fpm?

I have two installations of php on my machine. One came with apache and is a 5.3 version, and I'm trying to use a 5.4 version with nginx. I'd like to work on project using nginx, but I can't figure ...
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
33 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]: ...
0
votes
2answers
840 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: ...
1
vote
0answers
11 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
42 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
19 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
30 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 ...
1
vote
1answer
105 views

mpd stuttering when run under launchd

Background As a terminal junkie, I've started messing around with a combination of mpd (Music Player Daemon) and a player, ncmpcpp (NCurses Media Player Client C++). I installed these via Homebrew - ...
0
votes
1answer
84 views

How to create automatic launchd job that sets the Ruby version to use

I’d like to run a ruby script automatically once or twice a day on my MacBook running OS X Yosemite. Problem is that I currently have three versions of Ruby on my system including 1.8.7 and 2.2.1, ...
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 ...
0
votes
1answer
173 views

Settings for CalendarAgent, Mingler and iCalExternalSync services

I have the dreaded issue with recurring sync service processes wreaking havoc on my MacBook Pro with O S X 10.9 Mavericks and stealing my CPU cycles for no apparent good reason. Usually with a 3 month ...
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 ...
4
votes
4answers
6k views

Mac won't boot: Way to mount drive and delete one file?

My macbook is currently a brick. I added a /etc/launchctl.conf file that must be malformed. The OS now crashes even when attempting to start in safe mode: "launchd System bootstrapper has crashed: ...
3
votes
2answers
79 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 ...
1
vote
2answers
50 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 ...
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
140 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 ...
1
vote
2answers
186 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.
1
vote
1answer
280 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 ...
2
votes
0answers
134 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
315 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 ...
1
vote
1answer
127 views

Can't get launchd task to run

I've done this once and I'm trying to do it on a new computer and I can't see what I'm doing wrong. I have a ruby script in my user folder named forecast.rb. I have set it to executable (a+x). It ...
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 ...
4
votes
1answer
449 views

launchd StartCalendarInterval not working reliably

I have several tasks that I run from launchd using StartCalendar interval. Under Yosemite these do not necessarily run. (Under Mavericks and earlier they did run) How do I see what launchd is doing ...
0
votes
2answers
2k views

Launchd unloading LaunchDaemon

I have a script scheduled to run as LaunchDaemon. Script runs fine when launched manually through terminal. I have two commands sudo launchctl unload -F /Library/LaunchDaemons/com.test.plist sudo ...
1
vote
0answers
363 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. ...