systemd/test/units/TEST-04-JOURNAL.stopped-socket-activation.sh
2024-08-15 14:04:41 +01:00

11 lines
306 B
Bash
Executable File

#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
systemctl stop systemd-journald.service
systemd-cat date
# shellcheck disable=SC2016
timeout 30 bash -xec 'until test "$(systemctl show -p SubState --value systemd-journald.service)" = "running"; do sleep 1; done'