mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
Instead of having some tests have their own unit, let's make test.service.in generic enough so that it works for all integration tests.
16 lines
349 B
SYSTEMD
16 lines
349 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@
|
|
@unit@
|
|
|
|
[Service]
|
|
ExecStartPre=rm -f /failed /testok
|
|
ExecStart=@command@
|
|
Type=oneshot
|
|
MemoryAccounting=@memory-accounting@
|
|
Environment=SYSTEMD_PAGER= @env@
|
|
UnsetEnvironment=JOURNAL_STREAM
|
|
@service@
|