dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

xml.snippets (849B)


      1 snippet skel "A launchd job template" b
      2 <!-- Documentation here: https://www.launchd.info/ -->
      3 <?xml version="1.0" encoding="UTF-8" ?>
      4 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      5 <plist version="1.0">
      6   <dict>
      7     <key>Label</key>
      8     <string>${1:com.example.app}</string>
      9     <key>Program</key>
     10     <string>${2:/path/to/script}</string>
     11     <!--
     12     <key>ProgramArguments</key>
     13     <array>
     14       <string></string>
     15       <string></string>
     16     </array>
     17     -->
     18     <key>RunAtLoad</key>
     19     <${3:true if run on boot/login}/>
     20     <key>StartInterval</key>
     21     <integer>${4:interval in which to run in seconds; then keepalive should be false}</integer>
     22     <key>KeepAlive</key>
     23     <${5:true if the job should always be running, or e.g. dict with SuccessfulExit}/>
     24   </dict>
     25 </plist>
     26 endsnippet