summaryrefslogtreecommitdiffstats
path: root/test/TEST-04-JOURNAL/TEST-04-JOURNAL.units/verbose-success.service
blob: 004693b282c8e28dd9c0088df7d419dc7ebb5ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Verbose successful service

[Service]
Type=oneshot
ExecStart=echo success
# 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
# Suppress debugging logs from PID1 or sd-executor. Otherwise, the client context
# may be outdated when the stream from 'echo' command in the above comes.
LogLevelMax=info