summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_host-name.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-04-18 19:51:53 +0200
committerChristian Breunig <christian@breunig.cc>2025-04-18 19:54:12 +0200
commitb5406516ccd845eeb3b33529b31ca81a319f16d7 (patch)
tree01aea1d20fc8bea176b8b309349f05eee179b138 /src/conf_mode/system_host-name.py
parent50d1e137a5fdad0c253fe9882f86030b7abc6b2b (diff)
downloadvyos-1x-b5406516ccd845eeb3b33529b31ca81a319f16d7.tar.gz
vyos-1x-b5406516ccd845eeb3b33529b31ca81a319f16d7.zip
syslog: T7367: use generic systemd syslog.service over rsyslog.service
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