-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.hosts_daemon.plist
42 lines (37 loc) · 1.2 KB
/
com.hosts_daemon.plist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.hosts_daemon</string>
<!-- Run at launch and never repeat .... -->
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
<!-- <key>LaunchOnlyOnce</key>
<true/> -->
<!-- Run as root, hopefully (useless for agents ...) -->
<!-- <key>UserName</key> -->
<!-- <string>sergpolly</string> -->
<!-- Debugging will help probably ... -->
<key>StandardOutPath</key>
<string>/Users/Shared/HDlog.log</string>
<key>StandardErrorPath</key>
<string>/Users/Shared/HDlog.log</string>
<key>Debug</key>
<true/>
<!-- WatchPath means, that the job will be launched upon some changes in the path -->
<key>WatchPaths</key>
<array>
<string>/Users/AgentsShared</string>
</array>
<!-- Script to launch and arguments ... -->
<key>ProgramArguments</key>
<array>
<string>/Users/Shared/hosts_daemon.sh</string>
<!-- <string>fst_argument</string> -->
<!-- <string>snd_argument</string> -->
</array>
</dict>
</plist>