![]() Theoretically it is possible for an agent to have the same label as a daemon, as daemons are loaded by the root launchd whereas agents are loaded by a user launchd, but it is not recommended. It identifies the job and has to be unique for the launchd instance. Label This key is required for every job definition.The following example shows a complete job definition with only three keys: The ~ character stands for the users home directory. Root or the user specified with the key UserName Job definitions for a specific user are stored below the respective user's Library directory. Third-Party definitions which are relevant for every user are stored below /Library. You should never need to create a daemon or agent in these directories. Job definitions crucial for the operation of the operating system are stored below /System/Library. Depending on where it is stored it will be treated as a daemon or an agent. The behavior of a daemon/agent is specified in a special XML file called a property list.
0 Comments
Leave a Reply. |