All Questions
12 questions
0
votes
0
answers
150
views
run daemon on start when scheduled time is missed
I have a daemon/script that runs daily, but I can't find a way to make it run if the computer was off at the scheduled time. Specifically, I'd like:
run script/daemon once a day at a X:00 am
if ...
1
vote
0
answers
378
views
Restart a daemon without root in OSX
On OSX 10.10 I created a plist file in /Library/LaunchDaemons/ to start at launch an OpenVPN connection. However I encountered DNS problems when going from an internet interface to another (as WiFi to ...
3
votes
1
answer
2k
views
Is it possible to run a launch agent as a user with sudo permissions?
I have an executable that needs to run every time a user logs in. It needs to run in the context of that user, but with root permissions, as if the user had run it with sudo.
I have looked through ...
0
votes
1
answer
1k
views
LaunchAgent has undesired root access
I am having a problem getting my LaunchAgent to run as a normal (not-root) user. Everything I've read implies this should be the default behavior. The expectation is that if you put the plist in /...
-2
votes
1
answer
170
views
How to run an SSH server on a laptop?
I want to create a program that allows a user to SSH into their laptop. But there is a serious problem: laptops sleep when they close. In particular, I believe this cannot be disabled on OS X. Does ...
0
votes
2
answers
38
views
Service com.apple.quickook doesn't stop from restarting
Running Mac OS X 10.2.2 in MacBookPro model MacBookPro11,2.
I'm having this issue that I could find using console application:
A daemon named com.apple.quicklook deosn't stop from restarting after 0 ...
5
votes
1
answer
6k
views
Increasing Yosemite maxfile limit for Application
I've been trying to up the maxfile limit and maxfileperproc limit on Yosemite, with no luck. I have created a sysctl.conf file in the etc folder, which has successfully increased the values when ...
2
votes
1
answer
1k
views
Launchd alternatives
I am writing an application that uses a library that will not work when the application is run as a launchd daemon. There is a bug in the library where it will throw a bus error when used from a ...
2
votes
1
answer
4k
views
Running – or only starting – a daemon using launchd
I'm trying to set up YouTrack on OS X Lion Server and have it launch at boot using launchd. I have downloaded the YouTrack jar file which I can successfully run from the command line using java -...
2
votes
1
answer
1k
views
Using launchd for persistent scripts
I have launchd configured to run a script. This works fine for the user who installed it (me), but it relaunches the script every time I log in, while I'd like it to run as long as the computer is on (...
2
votes
1
answer
4k
views
daemons and daemon users (specifically transmission-daemon) on OS X 10.5.8
I'm trying to set up transmission-daemon on a box running Mac OS 10.5.8. I want to do things the right way, which means (to my understanding)
create a service user (_transmission, for example) for ...
8
votes
1
answer
13k
views
Stop a runaway launchd process on OS X Leopard
I created a launchd .plist file to in order to have a python script run every hour. I ended up editing and later deleting the .plist file ( in /Library/LaunchDaemons )... but somehow launchd is still ...