From bdb88d0c5215f01d867ca93896eacae5cc553e32 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 24 Sep 2024 16:25:11 +0200 Subject: [PATCH] rm special output handling no longer required as we changed journalwatch priority to 6 (loglevel info) --- hosts/yodaNas/host-specific.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/hosts/yodaNas/host-specific.nix b/hosts/yodaNas/host-specific.nix index eeffb3a..20ec521 100644 --- a/hosts/yodaNas/host-specific.nix +++ b/hosts/yodaNas/host-specific.nix @@ -35,21 +35,8 @@ ]; script = '' set -eu -o pipefail - - # We use one of the following - # some-command 2> >(sed 's/^/<3> /' >&2) - # some-command 2>&1 | sed 's/^/<3> /' 1>&2 - # to prefix each line of stdout and stderr from some-command with - # "<3> " - # Source: https://superuser.com/a/882025/919675 - # - # With this prefix, the stderr output is treated as error messages by systemd. - # See https://www.freedesktop.org/software/systemd/man/latest/sd-daemon.html - # They can be viewed with - # journalctl -b -u Jinja-Compose.service - - /jc-config/docker-compose pull 2>&1 | sed 's/^/<3> /' - /jc-config/docker-compose up -d --wait 2>&1 | sed 's/^/<3> /' + /jc-config/docker-compose pull + /jc-config/docker-compose up -d --wait ''; }; }