This change is needed to make sure teuthology works on CentOS when the
-a option is specified.
Signed-off-by: Warren Usui <warren.usui@inktank.com>
'then',
'sudo', 'rm', '-f', '--', '/etc/rsyslog.d/80-cephtest.conf',
run.Raw('&&'),
- 'sudo', 'initctl', 'restart', 'rsyslog',
+ 'sudo', 'service', 'rsyslog', 'restart',
run.Raw(';'),
'fi',
run.Raw(';'),
ctx.cluster.run(
args=[
'sudo',
- 'initctl',
+ 'service',
# a mere reload (SIGHUP) doesn't seem to make
# rsyslog open the files
- 'restart',
'rsyslog',
+ 'restart',
],
wait=False,
),
CONF,
run.Raw('&&'),
'sudo',
- 'initctl',
- 'restart',
+ 'service',
'rsyslog',
+ 'restart',
],
wait=False,
),