Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example launchd service for running OONI Probe automatically ever… #103

Merged
merged 3 commits into from
Jan 31, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions scripts/org.ooni.probe.cli.plist
Original file line number Diff line number Diff line change
@@ -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>Label</key>
<string>org.ooni.probe.daily-run</string>

<key>KeepAlive</key>
<false/>
<key>RunAtLoad</key>
<true/>

<key>Program</key>
<string>/Users/USERNAME/.ooniprobe/ooniprobe</string>
hellais marked this conversation as resolved.
Show resolved Hide resolved
<key>ProgramArguments</key>
hellais marked this conversation as resolved.
Show resolved Hide resolved
<key>ProgramArguments</key>
<array>
<string>--config="/Users/USERNAME/.ooniprobe/config-100sites.json"</string>
hellais marked this conversation as resolved.
Show resolved Hide resolved
<string>--batch</string>
hellais marked this conversation as resolved.
Show resolved Hide resolved
<string>run</string>
</array>

<key>StartInterval</key>
<integer>3600</integer>
hellais marked this conversation as resolved.
Show resolved Hide resolved

<key>StandardErrorPath</key>
<string>/tmp/ooniprobe-cli.err</string>

<key>StandardOutPath</key>
<string>/tmp/ooniprobe-cli.out</string>
</dict>
</plist>