Add option to export env variables to daemon#119
Add option to export env variables to daemon#119exowaucka wants to merge 1 commit intojordansissel:masterfrom
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/$nameor/etc/sysconfig/$nameto 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_OPTIONSto be specified in/etc/default/kibanafor the Kibana 4 Debian/Ubuntu packages, even when using sysvinit. (There are still some supported versions of Ubuntu with sysvinit.)