1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-08-24 09:50:02 +03:00
Files
systemd-stable/test/test-execute/exec-standardinput-file-cat.service
Lennart Poettering 1ff3972a0f test: add test for https://github.com/systemd/systemd/issues/14560
(cherry picked from commit e56a8790a0)
(cherry picked from commit 536ef6d72b)
2020-02-05 17:34:45 +01:00

10 lines
310 B
Desktop File

[Unit]
Description=Test for StandardInput=file:
[Service]
ExecStart=cat
Type=oneshot
StandardInput=file:/etc/os-release
# We leave StandardOutput= unset here, to verify https://github.com/systemd/systemd/issues/14560 works
# The "cat" tool is going to write to stdout, which fails if we dup() stdin to stdout