Skip to content

Commit 15c3a1a

Browse files
Handle whitespace in EXTRA_APIDUMP_ARGS env variable (#60)
1 parent e6885b2 commit 15c3a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/internal/ec2/postman-insights-agent.service.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ EnvironmentFile=/etc/default/postman-insights-agent
88
# DO NOT CHANGE
99
# "${FOO}" uses the argument as is, while "$FOO" splits the string on white space
1010
# Reference: https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines
11-
ExecStart={{.AgentInstallPath}} apidump --project "${PROJECT_ID}" --interfaces "${INTERFACES}" --filter "${FILTER}" {{.ExtraApidumpArgs}} ${EXTRA_APIDUMP_ARGS}
11+
ExecStart={{.AgentInstallPath}} apidump --project "${PROJECT_ID}" --interfaces "${INTERFACES}" --filter "${FILTER}" {{.ExtraApidumpArgs}} $EXTRA_APIDUMP_ARGS
1212

1313
[Install]
1414
WantedBy=multi-user.target

0 commit comments

Comments
 (0)