ports/sysutils/py-supervisor/files/patch-supervisor_options.py
Wen Heping af59b92a0c - Update to 3.3.4
PR:		230711
Submitted by:	sergey@akhmatov.ru
Approved by:	maintainer(timeout, > 30 days)
Differential Revision:	https://reviews.freebsd.org/D16776
2018-09-22 08:26:51 +00:00

17 lines
744 B
Python

--- supervisor/options.py.orig 2018-02-15 21:18:33 UTC
+++ supervisor/options.py
@@ -96,13 +96,7 @@ class Options:
self.add("configfile", None, "c:", "configuration=")
here = os.path.dirname(os.path.dirname(sys.argv[0]))
- searchpaths = [os.path.join(here, 'etc', 'supervisord.conf'),
- os.path.join(here, 'supervisord.conf'),
- 'supervisord.conf',
- 'etc/supervisord.conf',
- '/etc/supervisord.conf',
- '/etc/supervisor/supervisord.conf',
- ]
+ searchpaths = [ '%%PREFIX%%/etc/supervisord.conf' ]
self.searchpaths = searchpaths
self.environ_expansions = {}