test/testdata/integration-tests/TEST-04-JOURNAL/TEST-04-JOURNAL.units/silent-success.service
raw| 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 | [Unit] |
| 3 | Description=Silent successful service |
| 4 | |
| 5 | [Service] |
| 6 | Type=oneshot |
| 7 | LogLevelMax=notice |
| 8 | # If the service finishes extremely fast, journald cannot find the source of the |
| 9 | # stream. Hence, we need to call 'journalctl --sync' before service finishes. |
| 10 | ExecStart=journalctl --sync |