Skip to content

Commit f457c61

Browse files
committed
Merge pull request fabtools#238 from roblabla/patch-2
In Arch, supervisor config folder is supervisor.d
2 parents 9675dbc + 6ccc4a8 commit f457c61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fabtools/require/supervisor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,10 @@ def process(name, **kwargs):
8383
# Upload config file
8484
if family == 'debian':
8585
filename = '/etc/supervisor/conf.d/%(name)s.conf' % locals()
86-
elif family in ['redhat', 'arch']:
86+
elif family == 'redhat':
8787
filename = '/etc/supervisord.d/%(name)s.ini' % locals()
88+
elif family == 'arch':
89+
filename = '/etc/supervisor.d/%(name)s.ini' % locals()
8890
else:
8991
raise UnsupportedFamily(supported=['debian', 'redhat', 'arch'])
9092

0 commit comments

Comments
 (0)