summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-environmentfile.service
blob: 9bcb133aecce4b25901ed0a78947d599c4a42a98 (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test for EnvironmentFile

[Service]
ExecStart=/bin/sh -x -c 'test "$$VAR1" = "word1 word2" && test "$$VAR2" = word3 && test "$$VAR3" = "\\$$word 5 6" && test "$$VAR4" = "new\nline" && test "$$VAR5" = passwordwithbackslashes'
Type=oneshot
EnvironmentFile=/tmp/test-exec_environmentfile.conf