mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
9 lines
391 B
Desktop File
9 lines
391 B
Desktop File
[Unit]
|
|
Description=Test for No Environment Variable Substitution
|
|
|
|
[Service]
|
|
ExecStart=/bin/sh -x -c 'test "$${VAR1-unset}" = "unset" && test "$${VAR2}" = "word3" && test "$${VAR3-unset}" = \'$word 5 6\''
|
|
ExecStart=:/bin/sh -x -c 'test "$${VAR1-unset}" != "unset" && test "$${VAR2}" != "word3" && test "$${VAR3-unset}" != \'$word 5 6\''
|
|
Type=oneshot
|
|
Environment="VAR2=word3" "VAR3=$word 5 6"
|