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 cannot find the .plist file location.
I know it will be located in /Library/LaunchAgent or ~/Library/LaunchAgent or somewhere,
but I don't want to search around paths for all jobs listed by the launchctl command.
The process name used in
launchctl listis declared in a plist. While the plist should be at the location mentioned above, they can be almost anywhere.I found the plist i was looking for with' locate. I was looking for org.postgresql.postgres
locate *.plist | grep org.postgresql.postgresnarrowed it down to 4 files