From 75132e74ac379a0b27f8f0cf324059f00fdb05b0 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Tue, 6 Oct 2020 07:07:06 +0000 Subject: conf-mode: T2782: Restart rsyslog after changing timezone --- src/conf_mode/system-timezone.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/conf_mode/system-timezone.py') diff --git a/src/conf_mode/system-timezone.py b/src/conf_mode/system-timezone.py index 4d9f017a6..3d98ba774 100755 --- a/src/conf_mode/system-timezone.py +++ b/src/conf_mode/system-timezone.py @@ -48,6 +48,7 @@ def generate(tz): def apply(tz): call('/usr/bin/timedatectl set-timezone {}'.format(tz['name'])) + call('systemctl restart rsyslog') if __name__ == '__main__': try: -- cgit v1.2.3