From 9241d36d7332e7f9a39bb00bd2f4fe5e6ebf0d66 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Thu, 21 Aug 2014 23:19:53 -0400 Subject: samba: added plist Closes #31787. Signed-off-by: Jack Nagel --- Library/Formula/samba.rb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/samba.rb b/Library/Formula/samba.rb index 0320d8e75..cd6284a9e 100644 --- a/Library/Formula/samba.rb +++ b/Library/Formula/samba.rb @@ -29,6 +29,28 @@ class Samba < Formula (var/'locks').mkpath end end + + plist_options :manual => 'smbd' + + def plist; <<-EOS.undent + + + + + Label + #{plist_name} + ProgramArguments + + #{sbin}/smbd + -s + #{etc}/smb.conf + + RunAtLoad + + + + EOS + end end __END__ -- cgit v1.2.3