Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. ExecStartPre=etcdctl ls /mydir \
  2. | cut -d / -f 3 \
  3. | xargs -I {} echo 'echo {}=$(etcdctl get /mydir/{})' \
  4. | bash > mydir.env
  5. EnvironmentFile=/home/core/mydir.env
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement