summaryrefslogtreecommitdiff
path: root/data/templates/vpp
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2025-12-01 15:23:14 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2025-12-01 15:23:14 +0000
commit3340c80dd2398a029e2e1b79c2a969c19ddce1e2 (patch)
tree362150119fe8bd2af008b91a1097d2769cf54490 /data/templates/vpp
parentf4d46db92f9d95c2264c219304172b7b45094bb3 (diff)
downloadvyos-1x-3340c80dd2398a029e2e1b79c2a969c19ddce1e2.tar.gz
vyos-1x-3340c80dd2398a029e2e1b79c2a969c19ddce1e2.zip
T8011: VPP fix log duplication in systemd journal
Set the standard output/error to null to avoid log duplication. Starting the service as "nodaemon" seems cause of this behavior.
Diffstat (limited to 'data/templates/vpp')
-rw-r--r--data/templates/vpp/override.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/vpp/override.conf.j2 b/data/templates/vpp/override.conf.j2
index 65568ab27..01bfe3e3a 100644
--- a/data/templates/vpp/override.conf.j2
+++ b/data/templates/vpp/override.conf.j2
@@ -13,3 +13,6 @@ WorkingDirectory=
WorkingDirectory=/run/vpp
Restart=no
Type=notify
+# T8011 avoid duplicating logs
+StandardOutput=null
+StandardError=null