mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +08:00
514d9e1665
integration-test-setup.sh is an auxiliary script that tests rely on at
runtime. As such, install the script in testdata/.
Follow-up for af153e36ae
.
16 lines
466 B
SYSTEMD
16 lines
466 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=%N
|
|
Wants=basic.target network.target @wants@
|
|
After=basic.target network.target @after@
|
|
Before=getty-pre.target
|
|
|
|
[Service]
|
|
ExecStartPre=rm -f /failed /testok
|
|
ExecStartPre=/usr/lib/systemd/tests/testdata/integration-test-setup.sh setup
|
|
ExecStart=@command@
|
|
ExecStopPost=/usr/lib/systemd/tests/testdata/integration-test-setup.sh finalize
|
|
Type=oneshot
|
|
MemoryAccounting=@memory-accounting@
|
|
StateDirectory=%N
|