1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-13 12:58:20 +03:00
systemd-stable/test/units/TEST-04-JOURNAL.stopped-socket-activation.sh
Michal Sekletar 3888d11d2d socket: fix socket activation of stopped services with pinned FD store
(cherry picked from commit 941a12dcba57f6673230a9c413738c51374d2998)
(cherry picked from commit 1a3d8368bcc8c123145955affd76a9c97f819ad5)
2024-08-16 11:07:11 +02: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'