launchd Questions
4
I want to have my computer set its volume to a specific level every night at 11:45 PM. I'm running OSX 10.11.4. I can set the volume manually through terminal with
osascript -e "set Volume 1.7"
...
2
I am trying to create helper objects (it could be a daemon or an agent). This should be launch on demand and its multiple instances should be there, as you see for Chrome and Safari helpers.
What H...
Aten asked 16/4, 2015 at 16:21
3
Checkpoint Secure Client: "Connectivity with VPN services is lost" on Mac OS 10.8 [closed]
When I install the secure client from Checkpoint (from here) on my Mac OS X 10.8, it works.
However, as soon as I restart the Laptop for 1-2 times, it won't work anymore displaying the error...
3
Since there is no "Year" parameter in the launchd plist format, how is it possible to create an agent that will run only once and not once a year?
3
On OSX using launchctl to start and stop a service seems great however I don't see anyway to check the return value to make sure it really did start. Return value always seems to come back as zero ...
6
I recently installed Jenkins, using Homebrew. I also installed Mercurial using Homebrew.
I can successfully clone an hg repo just fine - from Terminal. But if I try and do the same thing as part o...
2
I am building a launchctl service which can run a java service. I am able to create launchctl service with root user and test start/stop/status/automatic start at reboot use cases.
I am struggling ...
Caste asked 26/11, 2021 at 16:50
4
I have a simple python script which is moving files from my download folder. The script works fine when I running it via terminal. The issue happens when it gets run through launchd:
Traceback (mo...
Lexi asked 8/12, 2019 at 10:52
2
I have a python script which I am executing through a shell script for some reason(not important here). In my script I am basically fetching some url content and sending emails to a specific people...
6
I have some launchd scripts from Homebrew. However I have to manually run them when I restart my computer:
launchctl load -w ~/Library/LaunchAgents/com.mysql.mysqld.plist
<?xml version="1....
2
Solved
I've created a plist file in the /Library/LaunchDaemon/
The computer on which it runs cannot be restarted (server thing), it's running MacOS Tiger. I expected the following command to do the job, ...
2
Solved
Say I have a go project that based on which OS, and in some cases which distro, I want to use say a Systemd client package vs an Upstart client package vs a sysv client package vs a launchd client ...
10
Solved
I want to run a unison sync service running in the background whenever I login. But the status code of my agent is 78. I don't know why, I tried some fix posted online, but it just doesn't work.
W...
Dewyeyed asked 11/12, 2015 at 3:15
8
Is it possible to know the .plist file location which is loaded by the launchctl command?
The label name is listed with launchctl list and its contents can be viewed by launchctl list LABEL, but I ...
Roily asked 29/8, 2013 at 5:9
9
Solved
i'm running mongo 1.8.2 and trying to see how to cleanly shut it down on Mac.
on our ubuntu servers i can shutdown mongo cleanly from the mongo shell with:
> use admin
> db.shutdownServer()...
0
Microsoft has defined the IHostLifetime interface for WorkerServices to run as services on different platforms. (You can create a Worker Service project with dotnet new worker in the console).
If y...
Czardom asked 11/8, 2020 at 7:45
4
I'm tasked with moving a Tomcat/Jenkins installation from the deprecated (and now removed in Yosemite) SystemStarter framework to launchd. It launches and runs fine as a "build" user, except for on...
1
I'm trying to get a script to run every day at the same time to restart a Mac. I cannot use the built in schedule feature in the energy saving preference panel because I have apps running that prev...
6
I experimenting with pm2, which is a process manager for node.js applications. I tried their pm2 startup utility which generates and installs a startup script for pm2 when the system restarts.
I ...
0
I have a systemd service script which I would like to convert to a launchd service script to use for macOS. How would I approach this?
3
My programs run out of memory like half of the time I run them. Under Linux I can set a hard limit to the available memory using ulimit -v mem-in-kbytes. Actually, I use ulimit -S -v mem-in-kbytes,...
2
I have a launchd process to unload, the command I have used is
launchctl unload /System/Library/LaunchDaemons/costomscript.plist
it works fine if the process is already loaded. But if it is not ...
1
Solved
macOS Catalina
I have a python script that should write a file to an external drive. This works if I run the script manually. However, if the script is kicked off from a LaunchAgent bash script, i...
Leukorrhea asked 3/11, 2019 at 3:8
1
Solved
I've read the following manual pages on launchd: launchctl, launchd, and launchd.plist.
However, nothing is really said in these manual pages regarding what the launchctl boostrap and launchctl bo...
1
I have a daemon process started via launchd. This will be running even during DarkWake and has no time to finish before OS X goes back to sleep again.
I can think of the following solutions, but ...
Petua asked 26/8, 2015 at 13:10
1 Next >
© 2022 - 2025 — McMap. All rights reserved.