diff --git a/Formula/znc.rb b/Formula/znc.rb index 73cf8a7430..eee42e90f5 100644 --- a/Formula/znc.rb +++ b/Formula/znc.rb @@ -25,4 +25,31 @@ class Znc < Formula system "./configure", *args system "make install" end + + plist_options :manual => "znc --foreground" + + def plist; <<-EOS.undent + + + + + Label + #{plist_name} + ProgramArguments + + #{bin}/znc + --foreground + + StandardErrorPath + #{var}/log/znc.log + StandardOutPath + #{var}/log/znc.log + RunAtLoad + + StartInterval + 300 + + + EOS + end end