diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-13 21:00:09 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-13 21:00:09 +0200 |
commit | dc350ecd9fc8c877b1059db2aa10f48f250cd6ef (patch) | |
tree | 54614caac9bc39bae62a7018fea3ae97fc1ff50a /src/conf_mode/system-syslog.py | |
parent | 34978e349961fe1aa93025eba5d7ec47b7c5355b (diff) | |
download | vyos-1x-dc350ecd9fc8c877b1059db2aa10f48f250cd6ef.tar.gz vyos-1x-dc350ecd9fc8c877b1059db2aa10f48f250cd6ef.zip |
syslog: T2185: explicitly specify systemd service
Diffstat (limited to 'src/conf_mode/system-syslog.py')
-rwxr-xr-x | src/conf_mode/system-syslog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/system-syslog.py b/src/conf_mode/system-syslog.py index 7d93ffdd5..9da3d9157 100755 --- a/src/conf_mode/system-syslog.py +++ b/src/conf_mode/system-syslog.py @@ -244,8 +244,8 @@ def verify(c): def apply(c): if not c: - return run('systemctl stop syslog') - return run('systemctl restart syslog') + return run('systemctl stop syslog.service') + return run('systemctl restart syslog.service') if __name__ == '__main__': try: |