mirror of
https://github.com/systemd/systemd
synced 2024-10-06 16:21:34 +00:00
7faf8987ed
This also adjusts LogLevelMax=. Hopefully, this makes the test much stabler.
14 lines
498 B
Desktop File
14 lines
498 B
Desktop File
# 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
|