2015-10-30 16:55:44 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Test for EnvironmentFile
|
|
|
|
|
|
|
|
[Service]
|
2018-05-10 15:28:10 +02:00
|
|
|
ExecStart=/bin/sh -x -c 'test "$$VAR1" = "word1 word2" && test "$$VAR2" = word3 && test "$$VAR3" = "\\$$word 5 6" && test "$$VAR4" = "new\nline" && test "$$VAR5" = passwordwithbackslashes'
|
2015-10-30 16:55:44 +01:00
|
|
|
Type=oneshot
|
|
|
|
EnvironmentFile=/tmp/test-exec_environmentfile.conf
|