summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_host-name.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/system_host-name.py')
-rwxr-xr-xsrc/conf_mode/system_host-name.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system_host-name.py b/src/conf_mode/system_host-name.py
index fef034d1c..de4accda2 100755
--- a/src/conf_mode/system_host-name.py
+++ b/src/conf_mode/system_host-name.py
@@ -175,7 +175,7 @@ def apply(config):
# Restart services that use the hostname
if hostname_new != hostname_old:
- tmp = systemd_services['rsyslog']
+ tmp = systemd_services['syslog']
call(f'systemctl restart {tmp}')
# If SNMP is running, restart it too