boot: Replace deprecated StandardOutput=syslog with journal, etc.
authorSimon McVittie <smcv@collabora.com>
Fri, 21 Aug 2020 08:14:36 +0000 (09:14 +0100)
committerSimon McVittie <smcv@collabora.com>
Fri, 21 Aug 2020 08:58:05 +0000 (09:58 +0100)
systemd deprecated this in v246.

Resolves: #2169
Signed-off-by: Simon McVittie <smcv@collabora.com>
src/boot/ostree-prepare-root.service
src/boot/ostree-remount.service

index 91692205f9a57cee1ca26c402e0ede18e4519bce..250ffe715f221dc457c395e1f2b8a5cde26955fe 100644 (file)
@@ -30,6 +30,6 @@ Before=initrd-root-fs.target
 Type=oneshot
 ExecStart=/usr/lib/ostree/ostree-prepare-root /sysroot
 StandardInput=null
-StandardOutput=syslog
-StandardError=syslog+console
+StandardOutput=journal
+StandardError=journal+console
 RemainAfterExit=yes
index 4c3ed94a425c3a3a5256291619508575e8245279..af40453cf1b328a43ed875dd3cd0ff4e42c7bada 100644 (file)
@@ -35,8 +35,8 @@ Type=oneshot
 RemainAfterExit=yes
 ExecStart=/usr/lib/ostree/ostree-remount
 StandardInput=null
-StandardOutput=syslog
-StandardError=syslog+console
+StandardOutput=journal
+StandardError=journal+console
 
 [Install]
 WantedBy=local-fs.target