mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
1a3d8368bc
(cherry picked from commit 941a12dcba
)
11 lines
306 B
Bash
Executable File
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'
|