diff options
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/syslog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/syslog.py b/src/conf_mode/syslog.py index 3cfc0e5ff..e4101a13b 100755 --- a/src/conf_mode/syslog.py +++ b/src/conf_mode/syslog.py @@ -18,8 +18,8 @@ import sys import os -import jinja2 import re +import jinja2 from vyos.config import Config from vyos import ConfigError @@ -254,7 +254,7 @@ def apply(c): if os.path.exists('/etc/rsyslog.d/vyatta-log.conf'): os.remove('/etc/rsyslog.d/vyatta-log.conf') - os.system("sudo invoke-rc.d rsyslog restart >/dev/null") + os.system("sudo systemctl restart rsyslog >/dev/null") if __name__ == '__main__': try: |