diff options
| author | James Mills <prologic@shortcircuit.net.au> | 2020-04-12 20:15:32 +1000 |
|---|---|---|
| committer | James Mills <prologic@shortcircuit.net.au> | 2020-04-12 20:15:49 +1000 |
| commit | 45b554199dcd4bb636c30e758e2eafbca9f33ea7 (patch) | |
| tree | e938826c7f9c29fead700ec838d493d3f76c5ed2 | |
| parent | 338c0b7dd4939c8bfdbb8a6ee66fd2e0f5a7cd41 (diff) | |
Add plist service configuration for launchd on macOS
| -rw-r--r-- | .goreleaser.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml index c440a2f..edb1170 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -26,6 +26,25 @@ brews: transcoding to MP4 H.265 AAC, multiple collections and RSS feed. dependencies: - ffmpeg + plist: | + <?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>Label</key><string>Tube</string> + <key>ProgramArguments</key> + <array> + <string>/usr/local/bin/tube</string> + <string>/usr/local/etc/tube/config.json + </array> + <key>WorkingDirectory</key> + <string>/usr/local</string> + <key>StandardOutPath</key><string>/usr/local/log/tube.log</string> + <key>RunAtLoad</key></true/> + <key>KeepAlive</key><true/> + <key>Disabled</key><false/> + </dict> + </plist> signs: - artifacts: checksum |
