HALF ECHO LEARN / REFERENCE COLLECTION
v262.2test/integration-tests/TEST-04-JOURNAL/TEST-04-JOURNAL.units/silent-success.service
Git blob: f80feebcc95f7f23f6b7ba39397d53c37896a761
Lines 1–11 of 11
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Silent successful service
[Service]
Type=oneshot
LogLevelMax=notice
# If the service finishes extremely fast, journald cannot find the source of the
# stream. Hence, we need to call 'journalctl --sync' before service finishes.
ExecStart=journalctl --sync