A utility used on OS X to manage the launchd daemon/agent manager
Questions tagged [launchctl]
21 questions
1
vote
0 answers
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 tryed just in case, but nothing changed. Crontab…

kaklon
- 177
- 1
- 1
- 9
0
votes
1 answer
launchctl won't load php-fpm with this LaunchAgent
I'm trying to start php-fpm with launchctl.
Running directly from the command line is no problem:
$ /usr/sbin/php-fpm -p /Users/dmitry -e
Here's the contents of /Users/dmitry/Library/LaunchAgents/dminkovsky.php-fpm.plist:

Dmitry Minkovsky
- 557
- 3
- 9
- 22
0
votes
1 answer
Is it possible to stop a service through launchd if the service is started manually?
I am using launchd to start mysql on boot, it is working fine. I am able to stop and start the service using 'launchctl unload' and 'launchctl load' commands. Also I am able to start the service by typing 'mysqld_safe' command in terminal. But, if I…

karthzDIGI
- 103
- 5
0
votes
1 answer
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 from the command line to do it. I could still do…

Sigsegv
- 101
- 2
0
votes
0 answers
OSX How to prevent user unload a daemon?
I'm working in a task to keep Mac application is always alive. I'm success to create a plist file to make app respawn when user force quite app from Dock or kill process from Activity Monitor
Here's my plist file

Trinh Tran
- 101
- 1
0
votes
0 answers
Launchd logging to system logs
I am currently doing something like this
StandardOutPath
/var/log/s.log
StandardErrorPath
/var/log/e.log
I would like to use system log instead of files. Is there a way to accomplish that by…

James Franco
- 113
- 4