You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see a easy fix for fix all cases when "$" is used. Having a flag for not escaping seems problematic.
but having a flag that inserts "${ENV_OPTION_1}" as the second argument does solve most use cases that I could think of.
Example: pleaserun --env-option 1 --name foo /usr/local/bin/foo
With the end result being: ExecStart=/usr/local/bin/foo "$ENV_OPTION_1"
The text was updated successfully, but these errors were encountered:
There is a existing bug $ is escaped in systemd file, preventing use of environment variables
I don't see a easy fix for fix all cases when "$" is used. Having a flag for not escaping seems problematic.
but having a flag that inserts "${ENV_OPTION_1}" as the second argument does solve most use cases that I could think of.
Example:
pleaserun --env-option 1 --name foo /usr/local/bin/foo
With the end result being:
ExecStart=/usr/local/bin/foo "$ENV_OPTION_1"
The text was updated successfully, but these errors were encountered: