summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_rsyslog.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/config/cc_rsyslog.py')
-rw-r--r--cloudinit/config/cc_rsyslog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_rsyslog.py b/cloudinit/config/cc_rsyslog.py
index 82e382e8..9599e925 100644
--- a/cloudinit/config/cc_rsyslog.py
+++ b/cloudinit/config/cc_rsyslog.py
@@ -193,7 +193,7 @@ def handle(name, cfg, cloud, log, _args):
try:
restarted = reload_syslog(
- service=mycfg[KEYNAME_RELOAD],
+ command=mycfg[KEYNAME_RELOAD],
systemd=cloud.distro.uses_systemd()),
except util.ProcessExecutionError as e:
restarted = False