From 27ce4ea4f2bfe1e33454b8cec63276b044e29d12 Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Thu, 21 Feb 2013 14:23:53 +0100 Subject: Modify init-scripts to be able to run both on RHEL and Debian. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 24476681..38c8cd93 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ INITSYS_FILES = { 'upstart': [f for f in glob('upstart/*') if is_f(f)], } INITSYS_ROOTS = { - 'sysvinit': '/etc/rc.d/init.d', + 'sysvinit': '/etc/init.d', 'systemd': '/etc/systemd/system/', 'upstart': '/etc/init/', } -- cgit v1.2.3 From 3f61f2ee54ca1e550c733bb5d9b27f6250c1e51e Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Thu, 21 Feb 2013 15:07:54 +0100 Subject: New option INIT_SYSTEM=sysvinit_deb for Debian /etc/ directories --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 38c8cd93..b30cd53b 100755 --- a/setup.py +++ b/setup.py @@ -38,11 +38,13 @@ def is_f(p): INITSYS_FILES = { 'sysvinit': [f for f in glob('sysvinit/*') if is_f(f)], + 'sysvinit_deb': [f for f in glob('sysvinit/*') if is_f(f)], 'systemd': [f for f in glob('systemd/*') if is_f(f)], 'upstart': [f for f in glob('upstart/*') if is_f(f)], } INITSYS_ROOTS = { - 'sysvinit': '/etc/init.d', + 'sysvinit': '/etc/rc.d/init.d', + 'sysvinit_deb': '/etc/init.d', 'systemd': '/etc/systemd/system/', 'upstart': '/etc/init/', } -- cgit v1.2.3