2024-01-03 15:24:25 -08:00
|
|
|
{{- if eq .host.distro.family "darwin" -}}
|
|
|
|
<?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>Label</key>
|
|
|
|
<string>clamav.freshclam</string>
|
|
|
|
<key>ProgramArguments</key>
|
|
|
|
<array>
|
2024-05-09 19:53:38 -07:00
|
|
|
<string> {{ lookPath "freshclam" }}</string>
|
2024-01-03 15:24:25 -08:00
|
|
|
<string>-v</string>
|
|
|
|
</array>
|
|
|
|
<key>StartCalendarInterval</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>Hour</key>
|
|
|
|
<integer>21</integer>
|
|
|
|
<key>Minute</key>
|
|
|
|
<integer>0</integer>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
<key>UserName</key>
|
|
|
|
<string>{{ $.chezmoi.username }}</string>
|
|
|
|
<key>StandardErrorPath</key>
|
|
|
|
<string>/var/log/clamav/freshclam.error.log</string>
|
|
|
|
<key>StandardOutPath</key>
|
|
|
|
<string>/var/log/clamav/freshclam.output.log</string>
|
|
|
|
</dict>
|
|
|
|
</plist>
|
|
|
|
{{- end -}}
|