mirror of
https://github.com/systemd/systemd.git
synced 2025-01-05 13:18:06 +03:00
test-execute: ExecStop= and friends should not get credentials
See #32583
(cherry picked from commit 60b218e36e
)
This commit is contained in:
parent
8f58652f5e
commit
7da84cc154
@ -5,7 +5,7 @@ Description=Test for SetCredential=
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=sh -x -c 'test "$$(cat %d/test-execute.set-credential)" = "hoge"'
|
ExecStart=sh -x -c 'test "$$(cat %d/test-execute.set-credential)" = "hoge"'
|
||||||
ExecStartPost=sh -x -c 'test "$$(cat %d/test-execute.set-credential)" = "hoge"'
|
ExecStartPost=sh -x -c 'test "$$(cat %d/test-execute.set-credential)" = "hoge"'
|
||||||
ExecStop=sh -x -c 'test "$$(cat %d/test-execute.set-credential)" = "hoge"'
|
ExecStop=bash -x -c '[[ ! -v CREDENTIALS_DIRECTORY ]]'
|
||||||
ExecStopPost=sh -x -c 'test "$$(cat %d/test-execute.set-credential)" = "hoge"'
|
ExecStopPost=bash -x -c '[[ ! -v CREDENTIALS_DIRECTORY ]]'
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
SetCredential=test-execute.set-credential:hoge
|
SetCredential=test-execute.set-credential:hoge
|
||||||
|
Loading…
Reference in New Issue
Block a user