1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
systemd/test/testsuite-04.units/forever-print-hola.service
Frantisek Sumsal b003e2c7a6 test: clean up the test script even further
Most notably:
  - use `systemd-id128 new` instead of `journalctl --new-id128`
  - move all temporary files to /tmp
  - wrap repetitive checks in a function
2023-05-03 18:32:00 +02:00

8 lines
203 B
Desktop File

# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=ForeverPrintHola service
[Service]
Type=exec
ExecStart=sh -x -c 'while :; do printf "Hola\n" || touch /tmp/i-lose-my-logs; sleep 1; done'