diff options
author | sever-sever <v.gletenko@vyos.io> | 2020-10-06 07:07:06 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2020-10-06 07:07:06 +0000 |
commit | 75132e74ac379a0b27f8f0cf324059f00fdb05b0 (patch) | |
tree | 490f408e068068621694911f485fe3cb5150a1b6 | |
parent | cff1cefe7746eb68ad13a8da16e216914e87231c (diff) | |
download | vyos-1x-75132e74ac379a0b27f8f0cf324059f00fdb05b0.tar.gz vyos-1x-75132e74ac379a0b27f8f0cf324059f00fdb05b0.zip |
conf-mode: T2782: Restart rsyslog after changing timezone
-rwxr-xr-x | src/conf_mode/system-timezone.py | 1 |
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: |