troglobit / finit

Fast init for Linux. Cookies included
https://troglobit.com/projects/finit/
MIT License
633 stars 63 forks source link

How to set env variables before starting a service? #125

Closed deboot closed 4 years ago

deboot commented 4 years ago

Sorry! I do not see any env variables examples, so how it works?

troglobit commented 4 years ago

For that you'll have to use wrapper scripts. See this part of the docs ->

https://github.com/troglobit/finit/blob/master/doc/config.md#service-wrapper-scripts

troglobit commented 4 years ago

@deboot Did you get it working with wrapper scripts?

deboot commented 4 years ago

OK, thank you.

troglobit commented 4 years ago

OK, closing issue then.