A utility used on OS X to manage the launchd daemon/agent manager
2
votes
0answers
24 views
Difference between ulimit, launchctl, sysctl?
When managing the limits of the operating system (specifically OSX), what is the difference and overlap between the functionality and history of these three tools:
ulimit
launchctl, launchd
sysctl
...
0
votes
1answer
16 views
launchd PathState usage
I am trying to use PathState to start and stop a daemon on Mac OSX. It start when I create a file called /var/cache/myjob/run. However when the file is removed, the daemon doesn't stop again.
How do ...
0
votes
0answers
33 views
Manipulating Launchd from Python?
I have a simple python script for manipulating a plist file. Once this file is updated, I'd like to have that same script unload and then load that plist file in launchd. Normally, I'd use launchctl ...
3
votes
1answer
1k views
What do the numbers in launchctl list's status column mean?
launchctl has a "Status" column in the launchctl list output. The manpage or any of the related launchd manpages do not mention this column or what it means.
2
votes
6answers
2k views
Removing a process from launchd without restarting
I have a machine on which I do not want finder to run, so initially I made it unexecutable:
sudo chmod -R a-x /System/Library/CoreServices/Finder.app
But then realised that launchd was still trying ...
3
votes
2answers
269 views
Manually start scheduled launchd job
On our Mac OS X (10.6) Server we have setup several backup scripts that are controlled by launchd and launched at specific times. For this we have defined StartCalendarInterval and this all works very ...
1
vote
0answers
259 views
crontabs not firing on mac osx server under a non root account
I'd like to run a crontab but it is never fired. It's on a mac osx server 10.5.6
Accounts on mac are not defined in /etc/passwd. So their is no use in adding my account in /usr/lib/cron/cron.allow. I ...
2
votes
1answer
230 views
launchctl slow on ssh to OS X server
I'm running an OS X 10.5.8 server. When my users ssh into it, it can take up to about 10 seconds before they see a prompt.
I've turned on debug for ssh and see it's pausing at the "Entering ...
7
votes
1answer
3k views
How do I activate launchd logging on OS X?
How do I activate launchd logging on OS X 10.6?
I added a new daemon that is not starting properly (status is 1).
I want to debug the problem but I was not able to find launchd logs, they are not in ...
2
votes
1answer
429 views
OSX problem starting FTP from preferences
When I try to enable the FTP service in the preferences (File Sharing->Options->Share Files and Folders Using FTP) the check box enables and then disables again. The console is giving me the message ...
1
vote
1answer
3k views
(OS X 10.6) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I have recently installed Snow Leopard onto my Mac, and MySQL stopped working. I went into the terminal and used 'rm -r' on my old directory, and redownloaded the new version from the mysql website. ...
1
vote
0answers
487 views
launchd & launchctl Aqua session type on OSX Tiger
I have a script which I can successfully schedule using on OSX Leopard as follows :-
launchctl load -w -S Aqua com.floehopper.script
Apparently I need the Aqua session type because the script ...