~travisshears/folder-pics

cfb15170d1cbc5d9be91c3c65683cd25e45bde0f — Travis Shears 3 years ago 02adea0 master
add launchd configs
2 files changed, 21 insertions(+), 0 deletions(-)

A launchd/com.folderpics.app.plist
A launchd/folderpics_with_logs.sh
A launchd/com.folderpics.app.plist => launchd/com.folderpics.app.plist +16 -0
@@ 0,0 1,16 @@
<?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>com.folderpics.app</string>
    <key>KeepAlive</key><true/>
    <key>ProgramArguments</key>
        <array>
            <string>/Users/t.shears/dev/folder_pics/launchd/folderpics_with_logs.sh</string>
        </array>
    <key>RunAtLoad</key><true/>
    <key>ProcessType</key><string>Interactive</string>
    <key>UserName</key><string>t.shears</string>

</dict>
</plist>

A launchd/folderpics_with_logs.sh => launchd/folderpics_with_logs.sh +5 -0
@@ 0,0 1,5 @@
#!/bin/bash

echo "loading folderpics" >> /tmp/folderpics.log

/usr/local/bin/folderpics >> /tmp/folderpics.log