summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-13 21:00:09 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-13 21:00:09 +0200
commitdc350ecd9fc8c877b1059db2aa10f48f250cd6ef (patch)
tree54614caac9bc39bae62a7018fea3ae97fc1ff50a
parent34978e349961fe1aa93025eba5d7ec47b7c5355b (diff)
downloadvyos-1x-dc350ecd9fc8c877b1059db2aa10f48f250cd6ef.tar.gz
vyos-1x-dc350ecd9fc8c877b1059db2aa10f48f250cd6ef.zip
syslog: T2185: explicitly specify systemd service
-rwxr-xr-xsrc/conf_mode/system-syslog.py4
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: