mirror of
https://github.com/natelandau/ansible-homelab-config.git
synced 2025-11-08 05:03:47 -05:00
33 lines
823 B
Django/Jinja
33 lines
823 B
Django/Jinja
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>EnvironmentVariables</key>
|
|
<dict>
|
|
<key>PATH</key>
|
|
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/sbin</string>
|
|
</dict>
|
|
<key>KeepAlive</key>
|
|
<dict>
|
|
<key>PathState</key>
|
|
<dict>
|
|
<key>{{ mac_keep_alive_file }}</key>
|
|
<true/>
|
|
</dict>
|
|
<key>SuccessfulExit</key>
|
|
<true/>
|
|
</dict>
|
|
<key>Label</key>
|
|
<string>com.{{ my_username }}.consul</string>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>/usr/local/bin/consul</string>
|
|
<string>agent</string>
|
|
<string>-config-dir</string>
|
|
<string>{{ interpolated_consul_configuration_dir }}</string>
|
|
</array>
|
|
<key>RunAtLoad</key>
|
|
<true/>
|
|
</dict>
|
|
</plist>
|