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

[Service]
Type=oneshot
LogLevelMax=notice
ExecStart=/bin/true
# 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