]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-environment-empty.service
test-execute: Fix systemd escaping and shell issues
[thirdparty/systemd.git] / test / test-execute / exec-environment-empty.service
1 [Unit]
2 Description=Test for Environment
3
4 [Service]
5 ExecStart=/bin/sh -x -c 'test "$${VAR1-unset}" = "unset" && test "$${VAR2-unset}" = "unset" && test "$${VAR3-unset}" = "unset"'
6 Type=oneshot
7 Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6"
8 Environment=