Skip to content
Discussion options

You must be logged in to vote

my bad. misinterpretation of how systemd works.
Putting export and assignment in a single line does work in bash, but not for systemd. I guess it might be due to systemd being super posix compliant.

So splitting this in 2 separate lines is the solution here

PATH=$PATH:/opt/custom/etcd/bin
export PATH

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dulhaver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant