Debian Codegraph @

test/testdata/test-execute/exec-load-credential.service

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for LoadCredential=
4
5 [Service]
6 ExecStart=bash -x -c 'test "$$(cat %d/test-execute.load-credential)" = "foo"'
7 ExecStartPost=bash -x -c 'test "$$(cat %d/test-execute.load-credential)" = "foo"'
8 ExecStop=bash -x -c 'test "$$(cat %d/test-execute.load-credential)" = "foo"'
9 ExecStopPost=bash -x -c 'test "$$(cat %d/test-execute.load-credential)" = "foo"'
10 Type=oneshot
11 LoadCredential=test-execute.load-credential