Debian: Cleanup systemd errors for sw-patch.service

systemd reports the following:

  systemd[1]: /lib/systemd/system/sw-patch.service:11:
    Standard output type syslog+console is obsolete,
    automatically updating to journal+console.
    Please update your unit file, and consider removing
    the setting altogether.

This change is similar to controllerconfig service file
771e6ca734

Test Plan:
  Build / Bootstrap / Unlock on Debian
  Verify that /var/log/daemon.log does not show the 'obsolete' errors
  Verify that logs during sw-patch service start are logged.

Story: 2009969
Task: 45145
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I1e900f12884f8626e76e72e79de2453de32691cf
changes/50/838950/2
Al Bailey 5 months ago
parent 1f819ebb40
commit 5c3415fa8a
  1. 4
      sw-patch/bin/sw-patch.service

@ -8,8 +8,8 @@ Type=oneshot
User=root
ExecStart=/etc/init.d/sw-patch start
RemainAfterExit=yes
StandardOutput=syslog+console
StandardError=syslog+console
StandardOutput=journal+console
StandardError=journal+console
[Install]
WantedBy=multi-user.target

Loading…
Cancel
Save