Missing entry in launchctl after restart

I have a daemon that is registered with launchctll to run as a system daemon and to boot automatically every time the system starts or when the daemon crashes.

I registered this daemon with:

sudo launchctl load -w /Library/LaunchDaemons/plist.file

Everything works perfectly. My demon is registered and

sudo launchctl list

I can find entry in launchctll

But on some Mac computers, after rebooting the system, my daemon does not start. And with the help of the command sudo launchctl listI can no longer find the record.

Any ideas why the record is missing?

+3
source share
1 answer

If you need to use -w, then it is possible to install a key Disabled.

0
source

Source: https://habr.com/ru/post/1750080/


All Articles