-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to export env variables to daemon #119
base: master
Are you sure you want to change the base?
Conversation
Curious. Why not export from your default/sysconfig file? |
Blindly exporting everything in the default/sysconfig file to the daemon itself (not just the init script) seem dangerous to me. |
obfs4 154.35.22.10:15937 8FB9F4319E89E5C6223052AA525A192AFBC85D55 cert=GGGS1TX4R81m3r0HBl79wKy1OtPPNR2CZUIrHjkRg65Vc2VR8fOyo64f9kmT1UAFG7j0HQ iat-mode=0 |
This change allows environment variables to be exported in the sysv init script. This allows
/etc/default/$name
or/etc/sysconfig/$name
to function in a manner similar to systemd (minus the end-user's ability to set whatever environment variables they want).The motivation for this change is to allow
NODE_OPTIONS
to be specified in/etc/default/kibana
for the Kibana 4 Debian/Ubuntu packages, even when using sysvinit. (There are still some supported versions of Ubuntu with sysvinit.)