From 6f7622fbbd7d097519112f5499d81e47116a3f20 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 23 Feb 2015 11:09:46 -0800 Subject: chromedriver: add a launchd plist. Closes #37122. Signed-off-by: Mike McQuaid --- Library/Formula/chromedriver.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/chromedriver.rb b/Library/Formula/chromedriver.rb index 068ce2872..2070464dc 100644 --- a/Library/Formula/chromedriver.rb +++ b/Library/Formula/chromedriver.rb @@ -9,4 +9,30 @@ class Chromedriver < Formula def install bin.install 'chromedriver' end + + def plist; <<-EOS.undent + + + + + Label + homebrew.mxcl.chromedriver + RunAtLoad + + KeepAlive + + ProgramArguments + + #{opt_bin}/chromedriver + + ServiceDescription + Chrome Driver + StandardErrorPath + #{var}/log/chromedriver-error.log + StandardOutPath + #{var}/log/chromedriver-output.log + + + EOS + end end -- cgit v1.2.3