ports/sysutils/py-supervisor/files/patch-src-supervisor-options.py
Li-Wen Hsu cb6ce712b1 - Update to 3.0a8
- Add rc script
- Add sample configuration file

PR:		ports/143799
Submitted by:	Hizbulin Ildar <hizel AT vyborg.ru> (maintainer)
2010-04-03 17:37:19 +00:00

11 lines
531 B
Python

--- src/supervisor/options.py.orig 2010-02-11 13:25:24.000000000 +0300
+++ src/supervisor/options.py 2010-02-11 13:25:55.000000000 +0300
@@ -105,7 +105,7 @@
def default_configfile(self):
"""Return the name of the found config file or raise. """
paths = ['supervisord.conf', 'etc/supervisord.conf',
- '/etc/supervisord.conf']
+ '/etc/supervisord.conf', '%%PREFIX%%/etc/supervisord.conf']
config = None
for path in paths:
if os.path.exists(path):