mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:06:41 +00:00
Add launchd LaunchAgent support
This commit is contained in:
34
launch_agents/me.jimeh.logrotate.plist
Normal file
34
launch_agents/me.jimeh.logrotate.plist
Normal file
@@ -0,0 +1,34 @@
|
||||
<?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>Disabled</key>
|
||||
<false/>
|
||||
<key>Label</key>
|
||||
<string>me.jimeh.logrotate</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>~/.dotfiles/bin/logrotate-ex</string>
|
||||
</array>
|
||||
<key>EnableGlobbing</key>
|
||||
<true/>
|
||||
<!--
|
||||
<key>StandardOutPath</key>
|
||||
<string>~/Library/Logs/logrotate-ex.log</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>~/Library/Logs/logrotate-ex.error.log</string>
|
||||
-->
|
||||
<key>RunAtLoad</key>
|
||||
<false/>
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin</string>
|
||||
</dict>
|
||||
<key>StartCalendarInterval</key>
|
||||
<dict>
|
||||
<key>Minute</key>
|
||||
<integer>25</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user