systemd/test/test.service.in
Daan De Meyer 1d9b8f3476 test: Only add tpm2.target dependency to TEST-70-TPM2.service
Let's not add the dependency unless required.
2024-05-14 15:36:49 +02:00

13 lines
345 B
SYSTEMD

# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=%N
Wants=basic.target network.target multi-user.target user@4711.service @wants@
After=basic.target network.target user@4711.service @after@
Before=getty-pre.target
[Service]
ExecStartPre=rm -f /failed /testok
ExecStart=@command@
Type=oneshot
MemoryAccounting=@memory-accounting@