e883321251
While i'm here, fix couple whitespace issues in rc-script. Changelog: http://www.mail-archive.com/supervisor-users@lists.supervisord.org/msg00794.html PR: 163982 Submitted by: Ildar Hizbulin <hizel at vyborg dot ru> (maintainer)
14 lines
684 B
Python
14 lines
684 B
Python
--- supervisor/options.py.orig 2012-01-10 12:55:20.000000000 +0300
|
|
+++ supervisor/options.py 2012-01-10 12:56:14.000000000 +0300
|
|
@@ -92,10 +92,7 @@
|
|
def default_configfile(self):
|
|
"""Return the name of the found config file or raise. """
|
|
here = os.path.dirname(os.path.dirname(sys.argv[0]))
|
|
- paths = [os.path.join(here, 'etc', 'supervisord.conf'),
|
|
- os.path.join(here, 'supervisord.conf'),
|
|
- 'supervisord.conf', 'etc/supervisord.conf',
|
|
- '/etc/supervisord.conf']
|
|
+ paths = [ '%%PREFIX%%/etc/supervisord.conf' ]
|
|
config = None
|
|
for path in paths:
|
|
if os.path.exists(path):
|