mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
test-execute: ExecStop= and friends should not get credentials
See #32583
This commit is contained in:
parent
88cf0906aa
commit
60b218e36e
@ -5,7 +5,7 @@ Description=Test for SetCredential=
|
||||
[Service]
|
||||
ExecStart=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"'
|
||||
ExecStopPost=sh -x -c 'test "$$(cat %d/test-execute.set-credential)" = "hoge"'
|
||||
ExecStop=bash -x -c '[[ ! -v CREDENTIALS_DIRECTORY ]]'
|
||||
ExecStopPost=bash -x -c '[[ ! -v CREDENTIALS_DIRECTORY ]]'
|
||||
Type=oneshot
|
||||
SetCredential=test-execute.set-credential:hoge
|
||||
|
Loading…
Reference in New Issue
Block a user