Modify init-scripts to be able to run both on RHEL and Debian.

This commit is contained in:
Vlastimil Holer
2013-02-21 14:23:53 +01:00
parent 5d82b78ef3
commit c6a7f9770b
5 changed files with 17 additions and 29 deletions

View File

@@ -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/',
}