The integration-test-setup calls require StateDirectory= but some
tests override the test unit used which then won't have StateDirectory=
so let's move StateDirectory= into the dropin as well to avoid this
issue.
(cherry picked from commit
1f17ec0ed419627a686ee6e719ac7f55cf082ada)
[Service]
ExecStartPre=/usr/lib/systemd/tests/testdata/integration-test-setup.sh setup
ExecStopPost=/usr/lib/systemd/tests/testdata/integration-test-setup.sh finalize
+ StateDirectory=%N
"""
)
ExecStart=@command@
Type=oneshot
MemoryAccounting=@memory-accounting@
-StateDirectory=%N