mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Merge pull request #5554 from ttarabul/devel
Use /etc/rc.conf.local for sevice configuration on FreeBSD
This commit is contained in:
commit
5967b463c9
1 changed files with 1 additions and 1 deletions
|
@ -784,7 +784,7 @@ class FreeBsdService(Service):
|
||||||
else:
|
else:
|
||||||
self.rcconf_value = "NO"
|
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:
|
for rcfile in rcfiles:
|
||||||
if os.path.isfile(rcfile):
|
if os.path.isfile(rcfile):
|
||||||
self.rcconf_file = rcfile
|
self.rcconf_file = rcfile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue