Skip to content

Commit

Permalink
Merge pull request ansible#5554 from ttarabul/devel
Browse files Browse the repository at this point in the history
Use /etc/rc.conf.local for sevice configuration on FreeBSD
  • Loading branch information
jctanner committed Feb 4, 2014
2 parents 5fafc61 + 2f813f7 commit 5967b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/system/service
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ class FreeBsdService(Service):
else:
self.rcconf_value = "NO"

rcfiles = [ '/etc/rc.conf','/usr/local/etc/rc.conf' ]
rcfiles = [ '/etc/rc.conf','/etc/rc.conf.local', '/usr/local/etc/rc.conf' ]
for rcfile in rcfiles:
if os.path.isfile(rcfile):
self.rcconf_file = rcfile
Expand Down

0 comments on commit 5967b46

Please sign in to comment.