LaunchAgents now call borgmatic directly at its mise-installed path instead of routing through `mise x`, which triggered macOS TCC permission dialogs (e.g. "mise wants to access Documents") that hung headless sessions and caused backup failures. Also adds `mise install` to the ansible role so borgmatic installation is fully managed, and pins the version in both mise.toml and the role defaults. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
1 KiB
Django/Jinja
36 lines
1 KiB
Django/Jinja
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- {{ ansible_managed }} -->
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>KeepAlive</key>
|
|
<false/>
|
|
<key>Label</key>
|
|
<string>mcquack.eblume.borgmatic</string>
|
|
<key>EnvironmentVariables</key>
|
|
<dict>
|
|
<key>PATH</key>
|
|
<string>/opt/homebrew/bin:/usr/bin:/bin</string>
|
|
</dict>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>{{ borgmatic_bin }}</string>
|
|
<string>--config</string>
|
|
<string>{{ borgmatic_config }}</string>
|
|
<string>create</string>
|
|
</array>
|
|
<key>RunAtLoad</key>
|
|
<false/>
|
|
<key>StandardErrorPath</key>
|
|
<string>{{ borgmatic_log_dir }}/mcquack.borgmatic.err.log</string>
|
|
<key>StandardOutPath</key>
|
|
<string>{{ borgmatic_log_dir }}/mcquack.borgmatic.out.log</string>
|
|
<key>StartCalendarInterval</key>
|
|
<dict>
|
|
<key>Hour</key>
|
|
<integer>{{ borgmatic_schedule_hour }}</integer>
|
|
<key>Minute</key>
|
|
<integer>{{ borgmatic_schedule_minute }}</integer>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|