summaryrefslogtreecommitdiffstats
path: root/test/units/TEST-04-JOURNAL.stopped-socket-activation.sh
blob: 083f5fa0552cfc5f695e46c6e637ab2c8c255d02 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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'