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
This commit is contained in:
Al Bailey 2022-04-21 20:57:58 +00:00
parent 1f819ebb40
commit 5c3415fa8a
1 changed files with 2 additions and 2 deletions

View File

@ -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