summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-passenvironment-empty.service
blob: c93c197c10407ad59b156b6429fce7af03ee787d (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Test for PassEnvironment and erasing the variable list

[Service]
ExecStart=/bin/sh -x -c 'test "$${VAR1-unset}" = "unset" && test "$${VAR2-unset}" = "unset" && test "$${VAR3-unset}" = "unset"'
Type=oneshot
PassEnvironment=VAR1 VAR2 VAR3
PassEnvironment=