diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-06 17:30:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 17:30:06 +0200 |
commit | 5f43e21d148018a67aa24610c9ecb709134cbcbc (patch) | |
tree | 490f408e068068621694911f485fe3cb5150a1b6 | |
parent | cff1cefe7746eb68ad13a8da16e216914e87231c (diff) | |
parent | 75132e74ac379a0b27f8f0cf324059f00fdb05b0 (diff) | |
download | vyos-1x-5f43e21d148018a67aa24610c9ecb709134cbcbc.tar.gz vyos-1x-5f43e21d148018a67aa24610c9ecb709134cbcbc.zip |
Merge pull request #565 from sever-sever/T2782
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: |