mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +01:00
rm special output handling
no longer required as we changed journalwatch priority to 6 (loglevel info)
This commit is contained in:
parent
aa7b587dde
commit
bdb88d0c52
@ -35,21 +35,8 @@
|
|||||||
];
|
];
|
||||||
script = ''
|
script = ''
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
/jc-config/docker-compose pull
|
||||||
# We use one of the following
|
/jc-config/docker-compose up -d --wait
|
||||||
# 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> /'
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user