summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-10-06 07:07:06 +0000
committersever-sever <v.gletenko@vyos.io>2020-10-06 07:07:06 +0000
commit75132e74ac379a0b27f8f0cf324059f00fdb05b0 (patch)
tree490f408e068068621694911f485fe3cb5150a1b6 /src
parentcff1cefe7746eb68ad13a8da16e216914e87231c (diff)
downloadvyos-1x-75132e74ac379a0b27f8f0cf324059f00fdb05b0.tar.gz
vyos-1x-75132e74ac379a0b27f8f0cf324059f00fdb05b0.zip
conf-mode: T2782: Restart rsyslog after changing timezone
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/system-timezone.py1
1 files changed, 1 insertions, 0 deletions
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: