test: Fix section of StateDirectory=

This commit is contained in:
Daan De Meyer
2024-08-08 21:49:09 +02:00
parent c022fcd80c
commit dba138b863

View File

@@ -4,7 +4,6 @@ Description=%N
Wants=basic.target network.target @wants@
After=basic.target network.target @after@
Before=getty-pre.target
StateDirectory=%N
[Service]
ExecStartPre=rm -f /failed /testok
@@ -13,3 +12,4 @@ ExecStart=@command@
ExecStopPost=/usr/lib/systemd/tests/integration-test-setup.sh finalize
Type=oneshot
MemoryAccounting=@memory-accounting@
StateDirectory=%N