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 a07200c3..82e382e8 100644
--- a/cloudinit/config/cc_rsyslog.py
+++ b/cloudinit/config/cc_rsyslog.py
@@ -102,7 +102,7 @@ def reload_syslog(command=DEF_RELOAD, systemd=False):
if systemd:
cmd = ['systemctl', 'reload-or-try-restart', service]
else:
- cmd = ['service', service, 'reload']
+ cmd = ['service', service, 'restart']
else:
cmd = command
util.subp(cmd, capture=True)